Package org.dspace.workflow
Class FlowstepType
- java.lang.Object
-
- org.dspace.workflow.FlowstepType
-
@Generated(value="com.sun.tools.xjc.Driver", date="2023-11-15T02:20:30-06:00", comments="JAXB RI v2.3.2") public class FlowstepType extends ObjectTasksets are organized into elements called 'flowsteps' which correspond by name to DSpace workflow steps. Thus, to cause a task to be performed in the workflow step 'edit', place a 'task' element in the 'edit' flowstep. You may define a flowstep element in a taskset for each step in the workflow, since the flowstep action occurs before its workflow step. Use 'archive' for tasks to run just before the item is installed in archive. Each flowstep also allows an optional 'queue' attribute, which controls whether and where the tasks are placed on a queue for deferred performance. If the attribute is not present, the tasks are all performed immediately. Otherwise, the tasks are placed on a queue named by the attribute's value. You may add any number of tasks to a flowstep.Java class for flowstep-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="flowstep-type"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="task" type="{https://dspace.org/workflow-curation}task-type" maxOccurs="unbounded"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" /> <attribute name="queue" type="{http://www.w3.org/2001/XMLSchema}NCName" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description FlowstepType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the value of the name property.StringgetQueue()Gets the value of the queue property.List<TaskType>getTask()Gets the value of the task property.voidsetName(String value)Sets the value of the name property.voidsetQueue(String value)Sets the value of the queue property.
-
-
-
Field Detail
-
task
@Generated(value="com.sun.tools.xjc.Driver", date="2023-11-15T02:20:30-06:00", comments="JAXB RI v2.3.2") protected List<TaskType> task
-
name
@Generated(value="com.sun.tools.xjc.Driver", date="2023-11-15T02:20:30-06:00", comments="JAXB RI v2.3.2") protected String name
-
queue
@Generated(value="com.sun.tools.xjc.Driver", date="2023-11-15T02:20:30-06:00", comments="JAXB RI v2.3.2") protected String queue
-
-
Method Detail
-
getTask
@Generated(value="com.sun.tools.xjc.Driver", date="2023-11-15T02:20:30-06:00", comments="JAXB RI v2.3.2") public List<TaskType> getTask()Gets the value of the task property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the task property.For example, to add a new item, do as follows:
getTask().add(newItem);Objects of the following type(s) are allowed in the list
TaskType
-
getName
@Generated(value="com.sun.tools.xjc.Driver", date="2023-11-15T02:20:30-06:00", comments="JAXB RI v2.3.2") public String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
@Generated(value="com.sun.tools.xjc.Driver", date="2023-11-15T02:20:30-06:00", comments="JAXB RI v2.3.2") public void setName(String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
getQueue
@Generated(value="com.sun.tools.xjc.Driver", date="2023-11-15T02:20:30-06:00", comments="JAXB RI v2.3.2") public String getQueue()Gets the value of the queue property.- Returns:
- possible object is
String
-
-