public class SimpleDecision extends Decision
Outcome.DECISION_APPROVE
or Outcome.DECISION_DENY
.
The Decision is reassignable, and the default Outcome is
Outcome.DECISION_APPROVE
.Constructor and Description |
---|
SimpleDecision(Workflow workflow,
String messageKey,
Principal actor)
Constructs a new SimpleDecision assigned to a specified actor.
|
addFact, decide, execute, getActor, getDefaultOutcome, getFacts, getId, isReassignable, reassign, setId
addError, addSuccessor, getAvailableOutcomes, getEndTime, getErrors, getMessageArguments, getMessageKey, getOutcome, getOwner, getStartTime, getSuccessor, getWorkflow, isCompleted, isStarted, setOutcome, setWorkflow, start
public SimpleDecision(Workflow workflow, String messageKey, Principal actor)
workflow
- the parent WorkflowmessageKey
- 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-2019 The Apache Software Foundation. All rights reserved.