Class TaskSetup

java.lang.Object
com.sas.lsaf.workflow.processflow.setup.ElementSetup
com.sas.lsaf.workflow.processflow.setup.TaskSetup
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JobTaskSetup, NotificationTaskSetup, UserTaskSetup

public abstract class TaskSetup extends ElementSetup
The abstract class that specifies the common setup information for the task element setups that are in a process flow.
See Also:
  • Constructor Details

    • TaskSetup

      public TaskSetup(String name, String description, String elementId, Element.ElementType type, String processFlowId)
      It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the setup elements returned by the API.
      Parameters:
      name - The name of the element.
      description - The description of the element.
      elementId - The identifier of the element as it appears in the process flow definition.
      type - The type of the element.
      processFlowId - The identifier of the process flow that contains the element.
  • Method Details

    • getAttributes

      public List<Attribute> getAttributes()
      Gets the extended attributes that are defined for the item.
      Returns:
      The extended attributes.
    • setAttributes

      public void setAttributes(List<Attribute> attributes)
      Sets the extended attributes that are defined for the item.
      Parameters:
      attributes - The extended attributes that are defined for the item.
    • setName

      public void setName(String name)
      Sets the name of the element definition.
      Parameters:
      name - The name of the element definition.
    • setDescription

      public void setDescription(String description)
      Sets the description of the element definition.
      Parameters:
      description - The description.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ElementSetup
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ElementSetup
    • toString

      public String toString()
      Overrides:
      toString in class ElementSetup