Package org.dspace.workflow
Class TaskType
- java.lang.Object
-
- org.dspace.workflow.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 ObjectEach 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 Summary
Fields Modifier and Type Field Description protected Stringnameprotected List<Object>workflowOrNotify
-
Constructor Summary
Constructors Constructor Description TaskType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the value of the name property.List<Object>getWorkflowOrNotify()Gets the value of the workflowOrNotify property.voidsetName(String value)Sets the value of the name property.
-
-
-
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
-
-
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
setmethod 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
WorkflowTypeNotifyType
-
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
-
-