public class SimpleDecision extends Decision
Outcome.DECISION_APPROVE or Outcome.DECISION_DENY.
The Decision is reassignable, and the default Outcome is Outcome.DECISION_APPROVE.TIME_NOT_SET| Constructor and Description |
|---|
SimpleDecision(int workflowId,
Map<String,Serializable> workflowContext,
String messageKey,
Principal actor)
Constructs a new SimpleDecision assigned to a specified actor.
|
addFact, decide, execute, getActor, getDefaultOutcome, getFacts, getId, isReassignable, reassign, setIdaddError, addSuccessor, getAvailableOutcomes, getEndTime, getErrors, getMessageKey, getOutcome, getStartTime, getSuccessor, getWorkflowContext, getWorkflowId, isCompleted, isStarted, setOutcome, setWorkflow, startpublic SimpleDecision(int workflowId, Map<String,Serializable> workflowContext, String messageKey, Principal actor)
workflowId - the parent workflow id to setworkflowContext - the parent workflow context to setmessageKey - the message key that describes the Decision, which will be presented in the UIactor - the Principal (e.g., WikiPrincipal, GroupPrincipal, Role) who will decideCopyright © 2001-2020 The Apache Software Foundation. All rights reserved.