Interface AdminErrorHandler

  • All Known Implementing Classes:
    AdminErrorHandlerImpl

    public interface AdminErrorHandler
    Describes an abstraction for dealing with errors that occur while building builds.
    • Method Detail

      • recordError

        void recordError​(String errorKey,
                         String message)
        Record a error
        Parameters:
        errorKey -
        message -
      • getErrors

        Map<String,​String> getErrors()
        Obtain all the errors recorded
      • clear

        void clear()
        Remove all errors from the handler
      • removeError

        void removeError​(String errorKey)
        Remove a specific error from the handler.
        Parameters:
        errorKey -
      • getError

        String getError​(String errorKey)
        Obtain the specifed error from the handler.
        Parameters:
        errorKey -
        Returns:
        The error details