Class Result

    • Constructor Detail

      • Result

        public Result()
      • Result

        public Result​(String name)
    • Method Detail

      • getName

        public String getName()
        Returns name of the resource, this result object is for.
      • isError

        public boolean isError()
        Returns true in case of error. Enables provider to generate error message or otherwise.
      • getErrorMessage

        public String getErrorMessage()
        Returns error message in case of an error.
      • setIsError

        public void setIsError​(boolean isError)
        Sets status (error or success) of the response
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)
        Sets error message of the response