@Service(name="hk2-agent") @PerLookup public class PropsFileActionReporter extends ActionReporter
ActionReport.ExitCode, ActionReport.MessagePart
actionDescription, contentType, EOL_MARKER, exception, exitCode, subActions, topMessage
Constructor and Description |
---|
PropsFileActionReporter() |
Modifier and Type | Method and Description |
---|---|
void |
setMessage(String message) |
void |
useMainChildrenAttribute(boolean useMainChildrenAttr) |
void |
writeReport(OutputStream os)
Outputs the formatted information
|
void |
writeReport(String prefix,
ActionReport.MessagePart part,
Manifest m,
Attributes attr) |
addSubActionsReport, appendMessage, getActionDescription, getActionExitCode, getCombinedMessages, getContentType, getFailureCause, getMessage, getSubActionsReport, getTopMessagePart, hasFailures, hasSuccesses, hasWarnings, isFailure, isSuccess, isWarning, setActionDescription, setActionExitCode, setContentType, setFailure, setFailureCause, setMessage, setSuccess, setWarning
failure, failure, findProperty, getExtraProperties, getResultType, setExtraProperties, setResultType
public void setMessage(String message)
setMessage
in class ActionReporter
public void writeReport(OutputStream os) throws IOException
ActionReport
writeReport
in class ActionReport
os
- The OutputStream to which the information is sent toIOException
public void writeReport(String prefix, ActionReport.MessagePart part, Manifest m, Attributes attr)
public void useMainChildrenAttribute(boolean useMainChildrenAttr)
Copyright © 2019. All rights reserved.