Class CliActionReport

  • All Implemented Interfaces:
    Serializable

    public class CliActionReport
    extends org.glassfish.api.ActionReport
    Temporary implementation. Copy of AcctionReporter. It is here until ActionReport refactoring will be complete.
    Author:
    mmares
    See Also:
    Serialized Form
    • Field Detail

      • actionDescription

        protected String actionDescription
      • exitCode

        protected org.glassfish.api.ActionReport.ExitCode exitCode
      • topMessage

        protected org.glassfish.api.ActionReport.MessagePart topMessage
    • Constructor Detail

      • CliActionReport

        public CliActionReport()
        Creates a new instance of HTMLActionReporter
    • Method Detail

      • setFailure

        public void setFailure()
      • isFailure

        public boolean isFailure()
      • setWarning

        public void setWarning()
      • isWarning

        public boolean isWarning()
      • isSuccess

        public boolean isSuccess()
      • setSuccess

        public void setSuccess()
      • setActionDescription

        public void setActionDescription​(String message)
        Specified by:
        setActionDescription in class org.glassfish.api.ActionReport
      • getActionDescription

        public String getActionDescription()
      • setFailureCause

        public void setFailureCause​(Throwable t)
        Specified by:
        setFailureCause in class org.glassfish.api.ActionReport
      • getFailureCause

        public Throwable getFailureCause()
        Specified by:
        getFailureCause in class org.glassfish.api.ActionReport
      • getTopMessagePart

        public org.glassfish.api.ActionReport.MessagePart getTopMessagePart()
        Specified by:
        getTopMessagePart in class org.glassfish.api.ActionReport
      • addSubActionsReport

        public org.glassfish.api.ActionReport addSubActionsReport()
        Specified by:
        addSubActionsReport in class org.glassfish.api.ActionReport
      • getSubActionsReport

        public List<CliActionReport> getSubActionsReport()
        Specified by:
        getSubActionsReport in class org.glassfish.api.ActionReport
      • setActionExitCode

        public void setActionExitCode​(org.glassfish.api.ActionReport.ExitCode exitCode)
        Specified by:
        setActionExitCode in class org.glassfish.api.ActionReport
      • getActionExitCode

        public org.glassfish.api.ActionReport.ExitCode getActionExitCode()
        Specified by:
        getActionExitCode in class org.glassfish.api.ActionReport
      • setMessage

        public void setMessage​(String message)
        Specified by:
        setMessage in class org.glassfish.api.ActionReport
      • appendMessage

        public void appendMessage​(String message)
        Specified by:
        appendMessage in class org.glassfish.api.ActionReport
      • getMessage

        public String getMessage()
        Specified by:
        getMessage in class org.glassfish.api.ActionReport
      • setMessage

        public void setMessage​(InputStream in)
        Specified by:
        setMessage in class org.glassfish.api.ActionReport
      • getContentType

        public String getContentType()
        Specified by:
        getContentType in class org.glassfish.api.ActionReport
      • setContentType

        public void setContentType​(String s)
        Specified by:
        setContentType in class org.glassfish.api.ActionReport
      • hasSuccesses

        public boolean hasSuccesses()
        Specified by:
        hasSuccesses in class org.glassfish.api.ActionReport
      • hasWarnings

        public boolean hasWarnings()
        Specified by:
        hasWarnings in class org.glassfish.api.ActionReport
      • hasFailures

        public boolean hasFailures()
        Specified by:
        hasFailures in class org.glassfish.api.ActionReport