Class StepRun


  • public final class StepRun
    extends java.lang.Object
    • Method Detail

      • getObject

        public java.lang.String getObject()
        Returns:
        The type of response. In this case, it will always be "workflow_step_run".
      • getId

        public java.lang.String getId()
        Returns:
        The ID of the workflow step run.

        Example: "workflow_step_run_xKm9pNv3qWsY_jL2tR5Dh"

      • getStatus

        public StepRunStatus getStatus()
        Returns:
        The status of the workflow step run:
        • "PENDING" - The step run is waiting to be executed
        • "PROCESSING" - The step run is currently executing
        • "PROCESSED" - The step run completed successfully
        • "FAILED" - The step run encountered an error
        • "CANCELLED" - The step run was cancelled
      • getOutput

        public java.util.Optional<StepRunOutput> getOutput()
        Returns:
        The output of the WorkflowStepRun. The shape of the output depends on the type of the WorkflowStep in the step field:
        • For "EXTERNAL_DATA_VALIDATION" steps - The output will be the same object that was returned by the external endpoint configured for this step
        • For "RULE_VALIDATION" steps - See the below shape:
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object