Package com.sun.enterprise.admin.report
Class JsonActionReporter
- java.lang.Object
-
- org.glassfish.api.ActionReport
-
- com.sun.enterprise.admin.report.ActionReporter
-
- com.sun.enterprise.admin.report.JsonActionReporter
-
- All Implemented Interfaces:
Serializable
@Service(name="json") @PerLookup public class JsonActionReporter extends ActionReporter
Writes command output to a json stream- Author:
- Ludovic Champenois
- 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 JsonActionReporter()
Creates a new instance of JsonActionReporter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeReport(OutputStream os)
Outputs the formatted information-
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, setMessage, setSuccess, setWarning
-
Methods inherited from class org.glassfish.api.ActionReport
failure, failure, findProperty, getExtraProperties, getResultType, setExtraProperties, setResultType, toString
-
-
-
-
Method Detail
-
writeReport
public void writeReport(OutputStream os) throws IOException
Description copied from class:ActionReport
Outputs the formatted information- Specified by:
writeReport
in classActionReport
- Parameters:
os
- The OutputStream to which the information is sent to- Throws:
IOException
-
-