Uses of Interface
org.apache.wiki.workflow.Step
Packages that use Step
Package
Description
Provides specific tasks for JSPWiki, meant to be executed by the workflow framework.
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 Step in org.apache.wiki.tasks
Methods in org.apache.wiki.tasks that return StepModifier and TypeMethodDescriptionDefaultTasksManager.buildPreSaveWikiPageTask
(String proposedText) Builds a pre-save WikiPage task.TasksManager.buildPreSaveWikiPageTask
(String proposedText) Builds a pre-save WikiPage task.DefaultTasksManager.buildSaveUserProfileTask
(Locale loc) Builds a save user profile task.TasksManager.buildSaveUserProfileTask
(Locale loc) Builds a save user profile task.DefaultTasksManager.buildSaveWikiPageTask()
Builds a save WikiPage task.TasksManager.buildSaveWikiPageTask()
Builds a save WikiPage task. -
Uses of Step in org.apache.wiki.tasks.auth
Classes in org.apache.wiki.tasks.auth that implement StepModifier and TypeClassDescriptionclass
Handles the actual profile save action. -
Uses of Step in org.apache.wiki.tasks.pages
Classes in org.apache.wiki.tasks.pages that implement StepModifier and TypeClassDescriptionclass
Handles the page pre-save actions.class
Handles the actual page save and post-save actions. -
Uses of Step in org.apache.wiki.workflow
Classes in org.apache.wiki.workflow that implement StepModifier and TypeClassDescriptionclass
Abstract superclass that provides a complete implementation of most Step methods; subclasses need only implementAbstractStep.execute(Context)
andAbstractStep.getActor()
.class
AbstractStep subclass that asks an actor Principal to choose an Outcome on behalf of an owner (also a Principal).class
Decision subclass that includes two available Outcomes:Outcome.DECISION_APPROVE
orOutcome.DECISION_DENY
.final class
Decision subclass used for notifications that includes only one available Outcome:Outcome.DECISION_ACKNOWLEDGE
.class
AbstractStep subclass that executes instructions, uninterrupted, and results in an Outcome.Methods in org.apache.wiki.workflow that return StepModifier and TypeMethodDescriptionfinal Step
Workflow.getCurrentStep()
Returns the current Step, ornull
if the workflow has not started or already completed.final Step
Workflow.getPreviousStep()
Convenience method that returns the predecessor of the current Step.final Step
AbstractStep.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 Step
Task.getSuccessor()
Identifies the next Step after this Task finishes successfully.protected final Step
Workflow.previousStep
(Step step) Protected method that returns the predecessor for a supplied Step.Methods in org.apache.wiki.workflow that return types with arguments of type StepModifier and TypeMethodDescriptionWorkflow.getHistory()
Returns a Step history for this Workflow as a List, chronologically, from the first Step to the currently executing one.Methods in org.apache.wiki.workflow with parameters of type StepModifier and TypeMethodDescriptionfinal 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.WorkflowBuilder.buildApprovalWorkflow
(Principal submitter, String workflowApproverKey, Step prepTask, String decisionKey, Fact[] facts, Step completionTask, String rejectedMessageKey) protected final Step
Workflow.previousStep
(Step step) Protected method that returns the predecessor for a supplied Step.final void
Workflow.setFirstStep
(Step step) Sets the first Step for this Workflow, which will be executed immediately after theWorkflow.start(Context)
method executes.final void
Task.setSuccessor
(Step step) Sets the successor Step to this one, which will be triggered if the Task completes successfully (that is,getOutcome()
returnsOutcome.STEP_COMPLETE
.