Class TaskType

java.lang.Object
org.dspace.workflow.TaskType

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") public class TaskType extends Object
Each task element has a mandatory name attribute and two optional, repeatable children. The task name attribute must match the plugin manager name given the task in dspace.cfg.

Java class for task-type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="task-type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="workflow" type="{https://dspace.org/workflow-curation}workflow-type"/>
         <element name="notify" type="{https://dspace.org/workflow-curation}notify-type"/>
       </choice>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • workflowOrNotify

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") protected List<Object> workflowOrNotify
    • 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
  • Constructor Details

    • TaskType

      public TaskType()
  • Method Details

    • getWorkflowOrNotify

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v3.0.2", date="2025-07-14T16:00:20-05:00") public List<Object> getWorkflowOrNotify()
      Gets the value of the workflowOrNotify 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 workflowOrNotify property.

      For example, to add a new item, do as follows:

          getWorkflowOrNotify().add(newItem);
       

      Objects of the following type(s) are allowed in the list NotifyType WorkflowType

    • 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