Package org.jboss.bpm.monitor.model.bpaf

Examples of org.jboss.bpm.monitor.model.bpaf.State


*/
public final class InstanceEndAdapter implements EventAdapter.EventDetailMapping<ProcessCompletionEvent> {
    public Event adoptDetails(Event target, ProcessCompletionEvent source) {

        Event.EventDetails details = target.getEventDetails();
        State state = source.getFault()!=null ?
                State.Closed_Completed_Failed : State.Closed_Completed;

        details.setCurrentState(state);

        if(State.Closed_Completed_Failed == details.getCurrentState())
View Full Code Here

TOP

Related Classes of org.jboss.bpm.monitor.model.bpaf.State

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.