Class TriggerModel

    • Constructor Detail

      • TriggerModel

        public TriggerModel()
    • Method Detail

      • getType

        public String getType()
        Specified by:
        getType in interface IWorkflowElementTypeProviding
        Returns:
        The type of the workflow element that determines how the workflow element behaves. Usually there is a registered handler for each type.
      • 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
      • isActive

        public boolean isActive()
        Specified by:
        isActive in interface IActiveFlagProviding
        Returns:
        {code true} if this instance is considered active, enabled etc. The exact meaning depends on the type.
      • setActive

        public void setActive​(boolean active)
        Parameters:
        active - Whether this trigger is active. Inactive triggers cannot fire.
      • setType

        public void setType​(String type)
        Parameters:
        type - The type of the workflow element that determines how the workflow element behaves. Usually there is a registered handler for each type.
      • setUuid

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