Class WorkflowExecTimeout

    • Constructor Detail

      • WorkflowExecTimeout

        public WorkflowExecTimeout()
        No args constructor for use in serialization
      • WorkflowExecTimeout

        public WorkflowExecTimeout​(String duration)
        Parameters:
        duration - Workflow execution timeout duration (ISO 8601 duration format). If not specified should be 'unlimited'.
    • Method Detail

      • getDuration

        public String getDuration()
        Workflow execution timeout duration (ISO 8601 duration format). If not specified should be 'unlimited' (Required)
      • setDuration

        public void setDuration​(String duration)
        Workflow execution timeout duration (ISO 8601 duration format). If not specified should be 'unlimited' (Required)
      • isInterrupt

        public boolean isInterrupt()
        If `false`, workflow instance is allowed to finish current execution. If `true`, current workflow execution is abrupted.
      • setInterrupt

        public void setInterrupt​(boolean interrupt)
        If `false`, workflow instance is allowed to finish current execution. If `true`, current workflow execution is abrupted.
      • getRunBefore

        public String getRunBefore()
        Name of a workflow state to be executed before workflow instance is terminated
      • setRunBefore

        public void setRunBefore​(String runBefore)
        Name of a workflow state to be executed before workflow instance is terminated