Package | Description |
---|---|
org.apache.wiki.workflow |
Modifier and Type | Method and Description |
---|---|
Workflow |
WorkflowBuilder.buildApprovalWorkflow(Principal submitter,
String workflowApproverKey,
Step prepTask,
String decisionKey,
Fact[] facts,
Step completionTask,
String rejectedMessageKey)
|
Workflow |
AbstractStep.getWorkflow()
Gets the Workflow that is the parent of this Step.
|
Workflow |
Step.getWorkflow()
Gets the Workflow that is the parent of this Step.
|
Modifier and Type | Method and Description |
---|---|
List<Workflow> |
WorkflowManager.getCompletedWorkflows()
Returns a collection of finished workflows; that is, those that have aborted or completed.
|
Collection<Workflow> |
WorkflowManager.getOwnerWorkflows(WikiSession session)
Returns the current workflows a wiki session owns.
|
Collection<Workflow> |
WorkflowManager.getWorkflows()
Returns a collection of the currently active workflows.
|
Modifier and Type | Method and Description |
---|---|
protected void |
WorkflowManager.add(Workflow workflow)
Protected helper method that adds a newly created Workflow to the cache, and sets its
workflowManager and Id properties if not set. |
protected void |
WorkflowManager.remove(Workflow workflow)
Protected helper method that removes a specified Workflow from the cache,
and moves it to the workflow history list.
|
void |
AbstractStep.setWorkflow(Workflow workflow)
method that sets the parent Workflow post-construction.
|
void |
Step.setWorkflow(Workflow workflow)
Sets the parent Workflow post-construction.
|
void |
WorkflowManager.start(Workflow workflow)
Adds a new workflow to the set of workflows and starts it.
|
Constructor and Description |
---|
AbstractStep(Workflow workflow,
String messageKey)
Constructs a new Step belonging to a specified Workflow and having a
specified message key.
|
Decision(Workflow workflow,
String messageKey,
Principal actor,
Outcome defaultOutcome)
Constructs a new Decision for a required "actor" Principal, having a
default Outcome.
|
SimpleDecision(Workflow workflow,
String messageKey,
Principal actor)
Constructs a new SimpleDecision assigned to a specified actor.
|
SimpleNotification(Workflow workflow,
String messageKey,
Principal actor)
Constructs a new SimpleNotification object with a supplied message key,
associated Workflow, and named actor who must acknowledge the message.
|
Task(Workflow workflow,
String messageKey)
Constructs a new instance of a Task, with an associated Workflow and
message key.
|
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.