Class StageResponse


  • public final class StageResponse
    extends Object
    Stage response represents a response from having invoked a progress stage.
    Since:
    0.1.0
    • Method Detail

      • getStageTag

        public String getStageTag()
        Returns the stage tag.
        Returns:
        the stage tag
      • hasRequirements

        public boolean hasRequirements()
        Returns true if the response has any requirements.
        Returns:
        true if the response has any requirements
      • getRequirements

        public JsonValue getRequirements()
        Returns the requirements.
        Returns:
        the requirements
      • hasCallback

        public boolean hasCallback()
        Returns true if the response contains a snapshot token callback instance.
        Returns:
        true if the response contains a snapshot token callback instance
      • getCallback

        public SnapshotTokenCallback getCallback()
        Returns the callback instance.
        Returns:
        the callback instance
      • newBuilder

        public static StageResponse.Builder newBuilder()
        New builder to help construct a stage response.
        Returns:
        new builder