Uses of Class
org.apache.wiki.workflow.Outcome
Packages that use Outcome
Package
Description
Provides auth-related Tasks, meant to be executed by the workflow framework.
Provides WikiPages' saving related Tasks, meant to be executed by the workflow framework.
-
Uses of Outcome in org.apache.wiki.tasks.auth
Methods in org.apache.wiki.tasks.auth that return Outcome -
Uses of Outcome in org.apache.wiki.tasks.pages
Methods in org.apache.wiki.tasks.pages that return OutcomeModifier and TypeMethodDescriptionExecutes the processing for this Step and returns an Outcome indicating if it succeeded (STEP_COMPLETEorSTEP_ABORT).Executes the processing for this Step and returns an Outcome indicating if it succeeded (STEP_COMPLETEorSTEP_ABORT). -
Uses of Outcome in org.apache.wiki.workflow
Fields in org.apache.wiki.workflow declared as OutcomeModifier and TypeFieldDescriptionstatic final OutcomeOutcome.DECISION_ACKNOWLEDGEAcknowlege the Decision.static final OutcomeOutcome.DECISION_APPROVEApprove the Decision (and complete the step).static final OutcomeOutcome.DECISION_DENYDeny the Decision (and complete the step).static final OutcomeOutcome.DECISION_HOLDPut the Decision on hold (and pause the step).static final OutcomeOutcome.DECISION_REASSIGNReassign the Decision to another actor (and pause the step).static final OutcomeOutcome.STEP_ABORTTerminate workflow step (without errors)static final OutcomeOutcome.STEP_COMPLETEComplete workflow step (without errors)static final OutcomeOutcome.STEP_CONTINUEContinue workflow step (without errors)Methods in org.apache.wiki.workflow that return OutcomeModifier and TypeMethodDescriptionabstract OutcomeExecutes the processing for this Step and returns an Outcome indicating if it succeeded (STEP_COMPLETEorSTEP_ABORT).Default implementation that always returnsSTEP_CONTINUEif the current Outcome isn't a completion (which will be true if theDecision.decide(Outcome, Context)method hasn't been executed yet.Executes the processing for this Step and returns an Outcome indicating if it succeeded (STEP_COMPLETEorSTEP_ABORT).static OutcomeReturns a named Outcome.Decision.getDefaultOutcome()Returns the default or suggested outcome, which must be one of those returned byAbstractStep.getAvailableOutcomes().final OutcomeAbstractStep.getOutcome()Returns the Outcome of this Step's processing; by default,STEP_CONTINUE.Step.getOutcome()Returns the Outcome of this Step's processing; by default,STEP_CONTINUE.Methods in org.apache.wiki.workflow that return types with arguments of type OutcomeModifier and TypeMethodDescriptionfinal Collection<Outcome>AbstractStep.getAvailableOutcomes()Returns a Collection of available outcomes, such as "approve", "deny" or "reassign", in the order in which they were added viaStep.addSuccessor(Outcome, Step).Step.getAvailableOutcomes()Returns a Collection of available outcomes, such as "approve", "deny" or "reassign", in the order in which they were added viaStep.addSuccessor(Outcome, Step).Methods in org.apache.wiki.workflow with parameters of type OutcomeModifier and TypeMethodDescriptionfinal voidAbstractStep.addSuccessor(Outcome outcome, Step step) Adds a successor Step to this one, which will be triggered by a supplied Outcome.voidStep.addSuccessor(Outcome outcome, Step step) Adds a successor Step to this one, which will be triggered by a supplied Outcome.voidSets this Decision's outcome, and restarts the parent Workflow if it is in theWorkflow.WAITINGstate and this Decision is its currently active Step.voidAttempts to complete a Decision by callingDecision.decide(Outcome, Context).final StepAbstractStep.getSuccessor(Outcome outcome) Identifies the next Step for a particular Outcome; if there is no next Step for this Outcome, this method returnsnull.Step.getSuccessor(Outcome outcome) Identifies the next Step for a particular Outcome; if there is no next Step for this Outcome, this method returnsnull.final voidAbstractStep.setOutcome(Outcome outcome) Sets the current Outcome for the step.voidStep.setOutcome(Outcome outcome) Sets the current Outcome for the step.Constructors in org.apache.wiki.workflow with parameters of type Outcome