| Package | Description |
|---|---|
| org.apache.wiki.tasks.auth |
Provides auth-related Tasks, meant to be executed by the workflow framework.
|
| org.apache.wiki.tasks.pages |
Provides WikiPages' saving related Tasks, meant to be executed by the workflow framework.
|
| org.apache.wiki.workflow |
| Modifier and Type | Method and Description |
|---|---|
Outcome |
SaveUserProfileTask.execute(Context context)
Saves the user profile to the user database.
|
Outcome |
SaveUserProfileTask.execute(Context context)
Saves the user profile to the user database.
|
| Modifier and Type | Method and Description |
|---|---|
Outcome |
PreSaveWikiPageTask.execute(Context context)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (
STEP_COMPLETE or
STEP_ABORT). |
Outcome |
SaveWikiPageTask.execute(Context context)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (
STEP_COMPLETE or
STEP_ABORT). |
Outcome |
SaveWikiPageTask.execute(Context context)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (
STEP_COMPLETE or
STEP_ABORT). |
Outcome |
PreSaveWikiPageTask.execute(Context context)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (
STEP_COMPLETE or
STEP_ABORT). |
| Modifier and Type | Field and Description |
|---|---|
static Outcome |
Outcome.DECISION_ACKNOWLEDGE
Acknowlege the Decision.
|
static Outcome |
Outcome.DECISION_ACKNOWLEDGE
Acknowlege the Decision.
|
static Outcome |
Outcome.DECISION_APPROVE
Approve the Decision (and complete the step).
|
static Outcome |
Outcome.DECISION_APPROVE
Approve the Decision (and complete the step).
|
static Outcome |
Outcome.DECISION_DENY
Deny the Decision (and complete the step).
|
static Outcome |
Outcome.DECISION_DENY
Deny the Decision (and complete the step).
|
static Outcome |
Outcome.DECISION_HOLD
Put the Decision on hold (and pause the step).
|
static Outcome |
Outcome.DECISION_HOLD
Put the Decision on hold (and pause the step).
|
static Outcome |
Outcome.DECISION_REASSIGN
Reassign the Decision to another actor (and pause the step).
|
static Outcome |
Outcome.DECISION_REASSIGN
Reassign the Decision to another actor (and pause the step).
|
static Outcome |
Outcome.STEP_ABORT
Terminate workflow step (without errors)
|
static Outcome |
Outcome.STEP_ABORT
Terminate workflow step (without errors)
|
static Outcome |
Outcome.STEP_COMPLETE
Complete workflow step (without errors)
|
static Outcome |
Outcome.STEP_COMPLETE
Complete workflow step (without errors)
|
static Outcome |
Outcome.STEP_CONTINUE
Continue workflow step (without errors)
|
static Outcome |
Outcome.STEP_CONTINUE
Continue workflow step (without errors)
|
| Modifier and Type | Method and Description |
|---|---|
abstract Outcome |
AbstractStep.execute(Context ctx)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (
STEP_COMPLETE or
STEP_ABORT). |
Outcome |
Decision.execute(Context context)
Default implementation that always returns
STEP_CONTINUE if the current Outcome isn't a completion (which will be
true if the Decision.decide(Outcome, Context) method hasn't been executed yet. |
Outcome |
Step.execute(Context ctx)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (
STEP_COMPLETE or
STEP_ABORT). |
Outcome |
Step.execute(Context ctx)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (
STEP_COMPLETE or
STEP_ABORT). |
Outcome |
Decision.execute(Context context)
Default implementation that always returns
STEP_CONTINUE if the current Outcome isn't a completion (which will be
true if the Decision.decide(Outcome, Context) method hasn't been executed yet. |
abstract Outcome |
AbstractStep.execute(Context ctx)
Executes the processing for this Step and returns an Outcome indicating if it succeeded (
STEP_COMPLETE or
STEP_ABORT). |
static Outcome |
Outcome.forName(java.lang.String key)
Returns a named Outcome.
|
static Outcome |
Outcome.forName(java.lang.String key)
Returns a named Outcome.
|
Outcome |
Decision.getDefaultOutcome()
Returns the default or suggested outcome, which must be one of those returned by
AbstractStep.getAvailableOutcomes(). |
Outcome |
Decision.getDefaultOutcome()
Returns the default or suggested outcome, which must be one of those returned by
AbstractStep.getAvailableOutcomes(). |
Outcome |
AbstractStep.getOutcome()
Returns the Outcome of this Step's processing; by default,
STEP_CONTINUE. |
Outcome |
Step.getOutcome()
Returns the Outcome of this Step's processing; by default,
STEP_CONTINUE. |
Outcome |
Step.getOutcome()
Returns the Outcome of this Step's processing; by default,
STEP_CONTINUE. |
Outcome |
AbstractStep.getOutcome()
Returns the Outcome of this Step's processing; by default,
STEP_CONTINUE. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Outcome> |
AbstractStep.getAvailableOutcomes()
Returns a Collection of available outcomes, such as "approve", "deny" or "reassign", in the order in which they were added via
Step.addSuccessor(Outcome, Step). |
java.util.Collection<Outcome> |
Step.getAvailableOutcomes()
Returns a Collection of available outcomes, such as "approve", "deny" or "reassign", in the order in which they were added via
Step.addSuccessor(Outcome, Step). |
java.util.Collection<Outcome> |
Step.getAvailableOutcomes()
Returns a Collection of available outcomes, such as "approve", "deny" or "reassign", in the order in which they were added via
Step.addSuccessor(Outcome, Step). |
java.util.Collection<Outcome> |
AbstractStep.getAvailableOutcomes()
Returns a Collection of available outcomes, such as "approve", "deny" or "reassign", in the order in which they were added via
Step.addSuccessor(Outcome, Step). |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractStep.addSuccessor(Outcome outcome,
Step step)
Adds a successor Step to this one, which will be triggered by a supplied Outcome.
|
void |
Step.addSuccessor(Outcome outcome,
Step step)
Adds a successor Step to this one, which will be triggered by a supplied Outcome.
|
void |
Step.addSuccessor(Outcome outcome,
Step step)
Adds a successor Step to this one, which will be triggered by a supplied Outcome.
|
void |
AbstractStep.addSuccessor(Outcome outcome,
Step step)
Adds a successor Step to this one, which will be triggered by a supplied Outcome.
|
void |
DecisionQueue.decide(Decision decision,
Outcome outcome,
Context context)
Attempts to complete a Decision by calling
Decision.decide(Outcome, Context). |
void |
DecisionQueue.decide(Decision decision,
Outcome outcome,
Context context)
Attempts to complete a Decision by calling
Decision.decide(Outcome, Context). |
void |
Decision.decide(Outcome outcome,
Context context)
Sets this Decision's outcome, and restarts the parent Workflow if it is
in the
Workflow.WAITING state and this Decision is its currently
active Step. |
void |
Decision.decide(Outcome outcome,
Context context)
Sets this Decision's outcome, and restarts the parent Workflow if it is
in the
Workflow.WAITING state and this Decision is its currently
active Step. |
Step |
AbstractStep.getSuccessor(Outcome outcome)
Identifies the next Step for a particular Outcome; if there is no next Step for this Outcome, this method returns
null. |
Step |
Step.getSuccessor(Outcome outcome)
Identifies the next Step for a particular Outcome; if there is no next Step for this Outcome, this method returns
null. |
Step |
Step.getSuccessor(Outcome outcome)
Identifies the next Step for a particular Outcome; if there is no next Step for this Outcome, this method returns
null. |
Step |
AbstractStep.getSuccessor(Outcome outcome)
Identifies the next Step for a particular Outcome; if there is no next Step for this Outcome, this method returns
null. |
void |
AbstractStep.setOutcome(Outcome outcome)
Sets the current Outcome for the step.
|
void |
Step.setOutcome(Outcome outcome)
Sets the current Outcome for the step.
|
void |
Step.setOutcome(Outcome outcome)
Sets the current Outcome for the step.
|
void |
AbstractStep.setOutcome(Outcome outcome)
Sets the current Outcome for the step.
|
| Constructor and Description |
|---|
Decision(int workflowId,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext,
java.lang.String messageKey,
java.security.Principal actor,
Outcome defaultOutcome)
Constructs a new Decision for a required "actor" Principal, having a default Outcome.
|
Decision(int workflowId,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext,
java.lang.String messageKey,
java.security.Principal actor,
Outcome defaultOutcome)
Constructs a new Decision for a required "actor" Principal, having a default Outcome.
|
Copyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.