Package org.dspace.workflow
Class FlowStep
- java.lang.Object
-
- org.dspace.workflow.FlowStep
-
public class FlowStep extends Object
Linkage between a workflow step and someCurationTasks.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTask(@NotNull Task task)Associate a curation task with the linked workflow step.
-
-
-
Constructor Detail
-
FlowStep
public FlowStep(@NotNull @NotNull String name, String queue)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 Detail
-
addTask
public void addTask(@NotNull @NotNull Task task)Associate a curation task with the linked workflow step.- Parameters:
task- a curation task configuration to be applied in this step.
-
-