Package org.dspace.workflow
Class FlowStep
java.lang.Object
org.dspace.workflow.FlowStep
Linkage between a workflow step and some
CurationTasks.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
step
Name of this workflow step. -
queue
Queue on which to run curation tasks, ornullfor immediate run. -
tasks
Curation tasks to be run in this workflow step.
-
-
Constructor Details
-
FlowStep
Create a set of curation tasks to be linked to a named workflow step. If the name of a curation task queue is supplied, the tasks will be queued; otherwise they will execute as the workflow item is passing through the linked workflow step.- Parameters:
name- name of the workflow step.queue- name of the associated curation queue in which tasks will run, ornullif these tasks should execute immediately.
-
-
Method Details
-
addTask
Associate a curation task with the linked workflow step.- Parameters:
task- a curation task configuration to be applied in this step.
-