public class ProcessInstanceStateChange extends Change
Constructor and Description |
---|
ProcessInstanceStateChange(ProcessInstance processInstance,
ProcessInstanceState oldState,
ProcessInstanceState newState,
TerminationReason terminationReason)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
ProcessInstance |
getElement()
Returns the changed element.
|
ProcessInstanceState |
getNewState()
Returns the new state.
|
ProcessInstanceState |
getOldState()
Returns the old state.
|
TerminationReason |
getTerminationReason()
Returns the termination reason if present.
|
boolean |
isFinished()
Returns true if the process instance is finished
|
boolean |
isProcessAcomplished()
Returns true if the activity was accomplished successfully.
|
boolean |
isRunning()
Returns true if the process instance is running.
|
isDebuggerRelevant, isValueChange
public ProcessInstanceStateChange(ProcessInstance processInstance, ProcessInstanceState oldState, ProcessInstanceState newState, TerminationReason terminationReason)
processInstance
- oldState
- newState
- terminationReason
- public ProcessInstance getElement()
Change
getElement
in class Change
public boolean isRunning()
public boolean isFinished()
public ProcessInstanceState getOldState()
public ProcessInstanceState getNewState()
public TerminationReason getTerminationReason()
public boolean isProcessAcomplished()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.