Class TaskType


  • @Generated(value="com.sun.tools.xjc.Driver",
               date="2021-12-13T12:38:33-06:00",
               comments="JAXB RI v2.3.2")
    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 Detail

      • workflowOrNotify

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2021-12-13T12:38:33-06:00",
                   comments="JAXB RI v2.3.2")
        protected List<Object> workflowOrNotify
      • name

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2021-12-13T12:38:33-06:00",
                   comments="JAXB RI v2.3.2")
        protected String name
    • Constructor Detail

      • TaskType

        public TaskType()
    • Method Detail

      • getWorkflowOrNotify

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2021-12-13T12:38:33-06:00",
                   comments="JAXB RI v2.3.2")
        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 JAXB 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 WorkflowType NotifyType

      • getName

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2021-12-13T12:38:33-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="2021-12-13T12:38:33-06:00",
                   comments="JAXB RI v2.3.2")
        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String