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,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext,
java.lang.String messageKey,
java.security.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, java.util.Map<java.lang.String,java.io.Serializable> workflowContext, java.lang.String messageKey, java.security.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 (c) 2001-2022 The Apache Software Foundation. All rights reserved.