Package org.apache.maven.continuum.model.project

Examples of org.apache.maven.continuum.model.project.BuildQueue


    private BuildQueue createDefaultBuildQueue()
    {
        log.info( "create Default Build Queue" );

        BuildQueue buildQueue = new BuildQueue();

        buildQueue.setName( DEFAULT_BUILD_QUEUE_NAME );

        return buildQueue;
    }
View Full Code Here


            testLocalRepository3.setId( 3 );
        }

        testBuildQueue1 = createTestBuildQueue( "build queue 1" );

        BuildQueue buildQueue1 = createTestBuildQueue( testBuildQueue1 );
        if ( addToStore )
        {
            buildQueue1 = buildQueueDao.addBuildQueue( buildQueue1 );
            testBuildQueue1.setId( buildQueue1.getId() );
        }
        else
        {
            buildQueue1.setId( 1 );
            testBuildQueue1.setId( 1 );
        }

        testBuildQueue2 = createTestBuildQueue( "build queue 2" );

        BuildQueue buildQueue2 = createTestBuildQueue( testBuildQueue2 );
        if ( addToStore )
        {
            buildQueue2 = buildQueueDao.addBuildQueue( buildQueue2 );
            testBuildQueue2.setId( buildQueue2.getId() );
        }
        else
        {
            buildQueue2.setId( 2 );
            testBuildQueue2.setId( 2 );
        }

        testBuildQueue3 = createTestBuildQueue( "build queue 3" );

        BuildQueue buildQueue3 = createTestBuildQueue( testBuildQueue3 );
        if ( addToStore )
        {
            buildQueue3 = buildQueueDao.addBuildQueue( buildQueue3 );
            testBuildQueue3.setId( buildQueue3.getId() );
        }
        else
        {
            buildQueue3.setId( 3 );
            testBuildQueue3.setId( 3 );
        }

        defaultProjectGroup = createTestProjectGroup( "Default Group", "The Default Group",
                                                      "org.apache.maven.test.default", localRepository1 );
View Full Code Here

                      actualConfig.getEndTime() );
    }

    protected static BuildQueue createTestBuildQueue( String name )
    {
        BuildQueue buildQueue = new BuildQueue();
        buildQueue.setName( name );

        return buildQueue;
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.continuum.model.project.BuildQueue

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.