Package com.enonic.xp.status
Class JsonStatusReporter
- java.lang.Object
-
- com.enonic.xp.status.JsonStatusReporter
-
- All Implemented Interfaces:
StatusReporter
public abstract class JsonStatusReporter extends Object implements StatusReporter
-
-
Constructor Summary
Constructors Constructor Description JsonStatusReporter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description MediaType
getMediaType()
abstract com.fasterxml.jackson.databind.JsonNode
getReport()
void
report(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 MediaType getMediaType()
- Specified by:
getMediaType
in interfaceStatusReporter
-
report
public final void report(OutputStream outputStream) throws IOException
- Specified by:
report
in interfaceStatusReporter
- Throws:
IOException
-
getReport
public abstract com.fasterxml.jackson.databind.JsonNode getReport()
-
-