public class CliActionReport extends ActionReport
ActionReport.ExitCode, ActionReport.MessagePart| Modifier and Type | Field and Description |
|---|---|
protected String |
actionDescription |
protected Throwable |
exception |
protected ActionReport.ExitCode |
exitCode |
protected List<CliActionReport> |
subActions |
protected ActionReport.MessagePart |
topMessage |
| Constructor and Description |
|---|
CliActionReport()
Creates a new instance of HTMLActionReporter
|
failure, failure, findProperty, getExtraProperties, getResultType, setExtraProperties, setResultTypeprotected Throwable exception
protected String actionDescription
protected List<CliActionReport> subActions
protected ActionReport.ExitCode exitCode
protected ActionReport.MessagePart topMessage
public CliActionReport()
public void setFailure()
public boolean isFailure()
public void setWarning()
public boolean isWarning()
public boolean isSuccess()
public void setSuccess()
public void setActionDescription(String message)
setActionDescription in class ActionReportpublic String getActionDescription()
public void setFailureCause(Throwable t)
setFailureCause in class ActionReportpublic Throwable getFailureCause()
getFailureCause in class ActionReportpublic ActionReport.MessagePart getTopMessagePart()
getTopMessagePart in class ActionReportpublic ActionReport addSubActionsReport()
addSubActionsReport in class ActionReportpublic List<CliActionReport> getSubActionsReport()
getSubActionsReport in class ActionReportpublic void setActionExitCode(ActionReport.ExitCode exitCode)
setActionExitCode in class ActionReportpublic ActionReport.ExitCode getActionExitCode()
getActionExitCode in class ActionReportpublic void setMessage(String message)
setMessage in class ActionReportpublic void appendMessage(String message)
appendMessage in class ActionReportpublic String getMessage()
getMessage in class ActionReportpublic void setMessage(InputStream in)
setMessage in class ActionReportpublic String getContentType()
getContentType in class ActionReportpublic void setContentType(String s)
setContentType in class ActionReportpublic boolean hasSuccesses()
ActionReporthasSuccesses in class ActionReportpublic boolean hasWarnings()
ActionReporthasWarnings in class ActionReportpublic boolean hasFailures()
ActionReporthasFailures in class ActionReportpublic void writeReport(OutputStream os) throws IOException
writeReport in class ActionReportIOExceptionCopyright © 2017. All rights reserved.