Class FlowstepType

java.lang.Object
org.dspace.workflow.FlowstepType

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") public class FlowstepType extends Object
Tasksets 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>
 
  • Field Details

    • task

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") protected List<TaskType> task
    • name

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") protected String name
    • queue

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") protected String queue
  • Constructor Details

    • FlowstepType

      public FlowstepType()
  • Method Details

    • getTask

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") 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 Jakarta XML Binding object. This is why there is not a set method 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", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getQueue

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") public String getQueue()
      Gets the value of the queue property.
      Returns:
      possible object is String
    • setQueue

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") public void setQueue(String value)
      Sets the value of the queue property.
      Parameters:
      value - allowed object is String