Uses of Interface
org.apache.wiki.workflow.Step
| Package | Description |
|---|---|
| org.apache.wiki.tasks |
Provides specific tasks for JSPWiki, meant to be executed by the workflow framework.
|
| 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 |
-
Uses of Step in org.apache.wiki.tasks
Methods in org.apache.wiki.tasks that return Step Modifier and Type Method Description StepDefaultTasksManager. buildPreSaveWikiPageTask(Context context, String proposedText)Builds a pre-save WikiPage task.StepTasksManager. buildPreSaveWikiPageTask(Context context, String proposedText)Builds a pre-save WikiPage task.StepDefaultTasksManager. buildSaveUserProfileTask(Engine engine, Locale loc)Builds a save user profile task.StepTasksManager. buildSaveUserProfileTask(Engine engine, Locale loc)Builds a save user profile task.StepDefaultTasksManager. buildSaveWikiPageTask(Context context)Builds a save WikiPage task.StepTasksManager. buildSaveWikiPageTask(Context context)Builds a save WikiPage task. -
Uses of Step in org.apache.wiki.tasks.auth
Classes in org.apache.wiki.tasks.auth that implement Step Modifier and Type Class Description classSaveUserProfileTaskHandles the actual profile save action. -
Uses of Step in org.apache.wiki.tasks.pages
Classes in org.apache.wiki.tasks.pages that implement Step Modifier and Type Class Description classPreSaveWikiPageTaskHandles the page pre-save actions.classSaveWikiPageTaskHandles the actual page save and post-save actions. -
Uses of Step in org.apache.wiki.workflow
Classes in org.apache.wiki.workflow that implement Step Modifier and Type Class Description classAbstractStepAbstract superclass that provides a complete implementation of most Step methods; subclasses need only implementAbstractStep.execute()andAbstractStep.getActor().classDecisionAbstractStep subclass that asks an actor Principal to choose an Outcome on behalf of an owner (also a Principal).classSimpleDecisionDecision subclass that includes two available Outcomes:Outcome.DECISION_APPROVEorOutcome.DECISION_DENY.classSimpleNotificationDecision subclass used for notifications that includes only one available Outcome:Outcome.DECISION_ACKNOWLEDGE.classTaskAbstractStep subclass that executes instructions, uninterrupted, and results in an Outcome.Methods in org.apache.wiki.workflow that return Step Modifier and Type Method Description StepWorkflow. getCurrentStep()Returns the current Step, ornullif the workflow has not started or already completed.StepWorkflow. getPreviousStep()Convenience method that returns the predecessor of the current Step.StepAbstractStep. getSuccessor(Outcome outcome)Identifies the next Step for a particular Outcome; if there is no next Step for this Outcome, this method returnsnull.StepStep. getSuccessor(Outcome outcome)Identifies the next Step for a particular Outcome; if there is no next Step for this Outcome, this method returnsnull.StepTask. getSuccessor()Identifies the next Step after this Task finishes successfully.protected StepWorkflow. 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 Step Modifier and Type Method Description List<Step>Workflow. 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 Step Modifier and Type Method Description 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.WorkflowWorkflowBuilder. buildApprovalWorkflow(Principal submitter, String workflowApproverKey, Step prepTask, String decisionKey, Fact[] facts, Step completionTask, String rejectedMessageKey)protected StepWorkflow. previousStep(Step step)Protected method that returns the predecessor for a supplied Step.voidWorkflow. setFirstStep(Step step)Sets the first Step for this Workflow, which will be executed immediately after theWorkflow.start()method executes.voidTask. 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.