Class WorkflowDTO.StepDTO<T extends WorkflowDTO.StepDTO>

    • Field Detail

      • uniqueName

        protected String uniqueName
      • emailAttachment

        protected Boolean emailAttachment
        Signals that approvable should be exported and attached to email in the given step
      • emailAttachmentTemplateName

        protected String emailAttachmentTemplateName
      • alreadySatisfiedComment

        protected String alreadySatisfiedComment
    • Method Detail

      • getUniqueName

        public String getUniqueName()
        Gets the name of the step
        Returns:
      • hashCode

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

        public T withEmailAttachment()
        Makes the step send the attachment along with the notification Same as withEmailAttachment(true)
      • withEmailAttachment

        public T withEmailAttachment​(Boolean emailAttachment)
        Makes the step send the attachment along with the notification
        Parameters:
        emailAttachment - Send attachment (true) or not (false)
      • getEmailAttachment

        public Boolean getEmailAttachment()
        Retrieves the attachment sending setting
        Returns:
      • withEmailAttachmentTemplateName

        public T withEmailAttachmentTemplateName​(String emailAttachmentTemplateName)
      • getEmailAttachmentTemplateName

        public String getEmailAttachmentTemplateName()
      • getAlreadySatisfiedComment

        public String getAlreadySatisfiedComment()
      • withAlreadySatisfied

        public T withAlreadySatisfied()
        Mark current step as already satisfied, workflowengine will skip its processing once marked as satisfied.
      • withAlreadySatisfied

        public T withAlreadySatisfied​(String comment)
        Mark current step as already satisfied, workflowengine will skip its processing once marked as satisfied.
        Parameters:
        comment - If set to non-null value, the execution of the step will skipped and its value used as the step's comment