Package com.cibuddy.core.build.server

Examples of com.cibuddy.core.build.server.IProject


        List<IProject> projects = new ArrayList<IProject>();
        // assign the projects (this might fail due to missing server(s) f.i.
        Iterator<ProjectType> iter = xfd.getProject().iterator();
        while(iter.hasNext()){
            ProjectType pt = iter.next();
            IProject tempProject = null;
            if(pt.getServer() != null) {
                tempProject = getProject(pt.getServer(),pt);
            } else {
                tempProject = getProject(xfd.getServer(),pt);
            }
View Full Code Here


            //List<BuildStatus> configuredBuildStatiMatches = new ArrayList<BuildStatus>();
            BuildStatus[] result = new BuildStatus[projects.size()];
            Iterator<IProject> projectIter = projects.iterator();
            // this iteration is done is a bit different than usual...
            for (int i = 0; projectIter.hasNext(); i++) {
                IProject pro = projectIter.next();
                try {
                    IProjectState proState = pro.obtainProjectState();
                    // use the iteration index to fil the result array
                    result[i] = proState.getProjectColor();
                } catch (NullPointerException npe){
                    // in case the project state could not be determined
                    return StatusAction.OFF;
View Full Code Here

TOP

Related Classes of com.cibuddy.core.build.server.IProject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.