Class WorkflowRuleTarget

    • Method Detail

      • getQueue

        public String getQueue()
        Get the queue for the workflow rule target.
        Returns:
        queue sid
      • getExpression

        public String getExpression()
        Get the expression for the workflow rule target to limit the workers selected.
        Returns:
        the expression
      • getPriority

        public Integer getPriority()
        Get the priority for the workflow rule target.
        Returns:
        the priority
      • getTimeout

        public Integer getTimeout()
        Get the timeout for the workflow rule target.
        Returns:
        the timeout
      • getOrderBy

        public String getOrderBy()
        Get the orderBy for the workflow rule target.
        Returns:
        the orderBy
      • getSkipIf

        public String getSkipIf()
        Get the skipIf for the workflow rule target.
        Returns:
        the skipIf
      • getKnownWorkerSid

        public String getKnownWorkerSid()
        Get the knownWorkerSid expression for the workflow rule target.
        Returns:
        the knownWorkerSid expression
      • getKnownWorkerFriendlyName

        public String getKnownWorkerFriendlyName()
        Get the knownWorkerFriendlyName expression for the workflow rule target.
        Returns:
        the knownWorkerFriendlyName expression
      • fromJson

        public static WorkflowRuleTarget fromJson​(String json)
                                           throws IOException
        Converts a JSON workflow configuration to a workflow configuration object.
        Parameters:
        json - JSON for workflow rule target
        Returns:
        a workflow rule target object
        Throws:
        IOException - if unable to create object