Package org.guvnor.asset.management.social

Examples of org.guvnor.asset.management.social.ProcessStartEvent


        }
    }

    @Override
    public SocialActivitiesEvent toSocial(Object object) {
        ProcessStartEvent event = (ProcessStartEvent ) object;

        //TODO verify this info
        return new SocialActivitiesEvent(
                new SocialUser("Mr. Process"),
                AssetManagementEventTypes.PROCESS_END.name(),
                new Date(event.getTimestamp())
        ).withAdicionalInfo("Process: " + event.getProcessName() + " finished on: " + event.getRepositoryAlias());
    }
View Full Code Here


        }
    }

    @Override
    public SocialActivitiesEvent toSocial(Object object) {
        ProcessStartEvent event = (ProcessStartEvent ) object;

        //TODO verify this info.
        return new SocialActivitiesEvent(
                new SocialUser("Mr. Process"),
                AssetManagementEventTypes.PROCESS_START.name(),
                new Date(event.getTimestamp())
        ).withAdicionalInfo("Process: " + event.getProcessName() + " started on: " + event.getRepositoryAlias());
    }
View Full Code Here

            _CB_DevBranchName = ( String ) workItem.getParameter( "CB_DevBranchName" );
            _CB_RelBranchName = ( String ) workItem.getParameter( "CB_RelBranchName" );
            _CB_Version = ( String ) workItem.getParameter( "CB_Version" );

            if ( isStart() ) {
                ProcessStartEvent event = new ProcessStartEvent( _ProcessName, _CB_RepositoryName, null, System.currentTimeMillis() );
                beanManager.fireEvent( event );
            } else {
                ProcessEndEvent event = new ProcessEndEvent( _ProcessName, _CB_RepositoryName, null, System.currentTimeMillis() );
                beanManager.fireEvent( event );
            }
View Full Code Here

TOP

Related Classes of org.guvnor.asset.management.social.ProcessStartEvent

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.