Class TaskModel

    • Constructor Detail

      • TaskModel

        public TaskModel()
    • Method Detail

      • getDescription

        public String getDescription()
        Returns:
        The description of this task, as shown to the user.
      • getName

        public String getName()
        Returns:
        The name of this task, as shown to the user. Required.
      • getNode

        public NodeModel getNode()
        Returns:
        The root node of this task where execution starts, usually a node of type SEQUENCE.
      • getTrigger

        @Nullable
        public TriggerModel getTrigger()
        Returns:
        A trigger that starts the execution of this task when it fires.
      • getUuid

        public UUID getUuid()
        Specified by:
        getUuid in interface IUuidProviding
        Returns:
        The UUID that identifies this instance.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setDescription

        public void setDescription​(String description)
        Parameters:
        description - The description of this task, as shown to the user.
      • setName

        public void setName​(String name)
        Parameters:
        name - The name of this task, as shown to the user.
      • setNode

        public void setNode​(NodeModel node)
        Parameters:
        node - The root node of this task where execution starts, usually a node of type SEQUENCE.
      • setTrigger

        public void setTrigger​(TriggerModel trigger)
        Parameters:
        trigger - A trigger that starts the execution of this task when it fires.
      • setUuid

        public void setUuid​(UUID uuid)
        Parameters:
        uuid - The UUID of this task, unique within the process.