Package com.enonic.xp.status
Class JsonStatusReporter
- java.lang.Object
-
- com.enonic.xp.status.JsonStatusReporter
-
- All Implemented Interfaces:
StatusReporter
public abstract class JsonStatusReporter extends java.lang.Object implements StatusReporter
-
-
Constructor Summary
Constructors Constructor Description JsonStatusReporter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.google.common.net.MediaType
getMediaType()
abstract com.fasterxml.jackson.databind.JsonNode
getReport()
void
report(java.io.OutputStream outputStream)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.enonic.xp.status.StatusReporter
getName, report
-
-
-
-
Method Detail
-
getMediaType
public final com.google.common.net.MediaType getMediaType()
- Specified by:
getMediaType
in interfaceStatusReporter
-
report
public final void report(java.io.OutputStream outputStream) throws java.io.IOException
- Specified by:
report
in interfaceStatusReporter
- Throws:
java.io.IOException
-
getReport
public abstract com.fasterxml.jackson.databind.JsonNode getReport()
-
-