Interface StatusData

    • Method Detail

      • ok

        static StatusData ok()
        Returns a StatusData indicating the operation has been validated by an application developer or operator to have completed successfully.
      • create

        static StatusData create​(StatusCode code,
                                 @Nullable
                                 java.lang.String description)
        Returns a StatusData with the given code and description. If description is null, the returned StatusData does not have a description.
      • getStatusCode

        StatusCode getStatusCode()
        Returns the status code.
      • getDescription

        java.lang.String getDescription()
        Returns the description of this Status for human consumption.
        Returns:
        the description of this Status.