コード例 #1
0
 public void setCurrentState(CaseExecutionState currentState) {
   if (!isSuspending() && !isTerminating()) {
     // do not reset the previous state, if this case execution
     // is currently terminating or suspending. otherwise the
     // "real" previous state is lost.
     previousState = this.currentState;
   }
   this.currentState = currentState.getStateCode();
 }
コード例 #2
0
 public void setCurrentState(CaseExecutionState currentState) {
   previousState = this.currentState;
   this.currentState = currentState.getStateCode();
 }