Package org.kie.uberfire.social.activities.model

Examples of org.kie.uberfire.social.activities.model.SocialActivitiesEvent


    @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

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

        return new SocialActivitiesEvent(
                new SocialUser("Mr. Process"),
                AssetManagementEventTypes.BRANCH_CREATED.name(),
                new Date(event.getTimestamp())
        ).withAdicionalInfo("Branch " + event.getBranchName() + " created for repository " + event.getRepositoryAlias());
    }
View Full Code Here

TOP

Related Classes of org.kie.uberfire.social.activities.model.SocialActivitiesEvent

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.