Interface NodeOutput

  • All Known Subinterfaces:
    UserTaskOutput

    public interface NodeOutput
    `NodeOutput` represents the output of a Node execution. It can be used to set a timeout on a node, or as input for a Variable Mutation.
    • Method Detail

      • jsonPath

        NodeOutput jsonPath​(java.lang.String path)
        Valid only for output of the JSON_OBJ or JSON_ARR types. Returns a new NodeOutput handle which points to Json element referred to by the json path. This method is most often used to create the `rhs` parameter for `ThreadBuilder::mutate()`. Can only be called once--you can't call node.jsonPath().jsonPath().
        Parameters:
        path - is the json path to evaluate.
        Returns:
        a NodeOutput.
      • timeout

        NodeOutput timeout​(int timeoutSeconds)
        Adds a timeout to a Node. Valid on TaskRuns and ExternalEvents.
        Parameters:
        timeoutSeconds - the timeout length.
        Returns:
        the NodeOutput.