Package com.sun.enterprise.admin.report
Class PropsFileActionReporter
- java.lang.Object
-
- org.glassfish.api.ActionReport
-
- com.sun.enterprise.admin.report.ActionReporter
-
- com.sun.enterprise.admin.report.PropsFileActionReporter
-
- All Implemented Interfaces:
Serializable
@Service(name="hk2-agent") @PerLookup public class PropsFileActionReporter extends ActionReporter
Action reporter to a manifest file- Author:
- Jerome Dochez
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.glassfish.api.ActionReport
ActionReport.ExitCode, ActionReport.MessagePart
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.admin.report.ActionReporter
actionDescription, contentType, EOL_MARKER, exception, exitCode, subActions, topMessage
-
-
Constructor Summary
Constructors Constructor Description PropsFileActionReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetMessage(String message)voiduseMainChildrenAttribute(boolean useMainChildrenAttr)voidwriteReport(OutputStream os)Outputs the formatted informationvoidwriteReport(String prefix, ActionReport.MessagePart part, Manifest m, Attributes attr)-
Methods inherited from class com.sun.enterprise.admin.report.ActionReporter
addSubActionsReport, appendMessage, getActionDescription, getActionExitCode, getCombinedMessages, getContentType, getFailureCause, getMessage, getSubActionsReport, getTopMessagePart, hasFailures, hasSuccesses, hasWarnings, isFailure, isSuccess, isWarning, setActionDescription, setActionExitCode, setContentType, setFailure, setFailureCause, setMessage, setSuccess, setWarning
-
Methods inherited from class org.glassfish.api.ActionReport
failure, failure, findProperty, getExtraProperties, getResultType, setExtraProperties, setResultType, toString
-
-
-
-
Method Detail
-
setMessage
public void setMessage(String message)
- Overrides:
setMessagein classActionReporter
-
writeReport
public void writeReport(OutputStream os) throws IOException
Description copied from class:ActionReportOutputs the formatted information- Specified by:
writeReportin classActionReport- Parameters:
os- The OutputStream to which the information is sent to- Throws:
IOException
-
writeReport
public void writeReport(String prefix, ActionReport.MessagePart part, Manifest m, Attributes attr)
-
useMainChildrenAttribute
public void useMainChildrenAttribute(boolean useMainChildrenAttr)
-
-