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 |
Modifier and Type | Method and Description |
---|---|
Step |
DefaultTasksManager.buildPreSaveWikiPageTask(WikiContext context,
String proposedText)
Builds a pre-save WikiPage task.
|
Step |
TasksManager.buildPreSaveWikiPageTask(WikiContext context,
String proposedText)
Builds a pre-save WikiPage task.
|
Step |
DefaultTasksManager.buildSaveUserProfileTask(WikiEngine engine,
Locale loc)
Builds a save user profile task.
|
Step |
TasksManager.buildSaveUserProfileTask(WikiEngine engine,
Locale loc)
Builds a save user profile task.
|
Step |
DefaultTasksManager.buildSaveWikiPageTask()
Builds a save WikiPage task.
|
Step |
TasksManager.buildSaveWikiPageTask()
Builds a save WikiPage task.
|
Modifier and Type | Class and Description |
---|---|
class |
SaveUserProfileTask
Handles the actual profile save action.
|
Modifier and Type | Class and Description |
---|---|
class |
PreSaveWikiPageTask
Handles the page pre-save actions.
|
class |
SaveWikiPageTask
Handles the actual page save and post-save actions.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStep
Abstact superclass that provides a complete implementation of most
Step methods; subclasses need only implement
AbstractStep.execute() and
AbstractStep.getActor() . |
class |
Decision
AbstractStep subclass that asks an actor Principal to choose an Outcome on
behalf of an owner (also a Principal).
|
class |
SimpleDecision
Decision subclass that includes two available Outcomes:
Outcome.DECISION_APPROVE or Outcome.DECISION_DENY . |
class |
SimpleNotification
Decision subclass used for notifications that includes only one available Outcome:
Outcome.DECISION_ACKNOWLEDGE . |
class |
Task
AbstractStep subclass that executes instructions, uninterrupted, and results
in an Outcome.
|
Modifier and Type | Method and Description |
---|---|
Step |
Workflow.getCurrentStep()
Returns the current Step, or
null if the workflow has not
started or already completed. |
Step |
Workflow.getPreviousStep()
Convenience method that returns the predecessor of the current Step.
|
Step |
Task.getSuccessor()
Identifies the next Step after this Task finishes successfully.
|
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 . |
protected Step |
Workflow.previousStep(Step step)
Protected method that returns the predecessor for a supplied Step.
|
Modifier and Type | Method and 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.
|
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.
|
Workflow |
WorkflowBuilder.buildApprovalWorkflow(Principal submitter,
String workflowApproverKey,
Step prepTask,
String decisionKey,
Fact[] facts,
Step completionTask,
String rejectedMessageKey)
|
protected Step |
Workflow.previousStep(Step step)
Protected method that returns the predecessor for a supplied Step.
|
void |
Workflow.setFirstStep(Step step)
Sets the first Step for this Workflow, which will be executed immediately
after the
Workflow.start() method executes. |
void |
Task.setSuccessor(Step step)
Sets the successor Step to this one, which will be triggered if the Task
completes successfully (that is,
getOutcome() returns
Outcome.STEP_COMPLETE . |
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.