Package org.apache.maven.continuum.store

Examples of org.apache.maven.continuum.store.ContinuumStore


        bdt = service.addBuildDefinitionTemplate( bdt );
        bdt = service.addBuildDefinitionInTemplate( bdt, bd, false );
        assertEquals( 5, service.getAllBuildDefinitionTemplate().size() );
        logger.debug( "templates number " + service.getAllBuildDefinitionTemplate().size() );

        ContinuumStore store = (ContinuumStore) lookup( ContinuumStore.class , "jdo" );
        logger.debug( "projectGroups number " + store.getAllProjectGroups().size() );       
       
        int all = service.getAllBuildDefinitions().size();
       
        ContinuumProjectBuildingResult result;
       
View Full Code Here


        throws Exception
    {
        ContinuumNotificationDispatcher notificationDispatcher =
            (ContinuumNotificationDispatcher) lookup( ContinuumNotificationDispatcher.ROLE );

        ContinuumStore store = getStore();

        Project project = addProject( store, "Notification Dispatcher Test Project" );

        project = store.getProjectWithBuildDetails( project.getId() );

        BuildResult build = new BuildResult();

        build.setStartTime( System.currentTimeMillis() );

        build.setState( ContinuumProjectState.BUILDING );

        build.setTrigger( ContinuumProjectState.TRIGGER_SCHEDULED );

        store.addBuildResult( project, build );

        build = store.getBuildResult( build.getId() );

        notificationDispatcher.buildComplete( project, null, build );
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.continuum.store.ContinuumStore

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.