Class PackageProgressTracker.JsonTracking
- java.lang.Object
-
- com.composum.sling.core.pckgmgr.jcrpckg.util.PackageProgressTracker
-
- com.composum.sling.core.pckgmgr.jcrpckg.util.PackageProgressTracker.JsonStreamTracking
-
- com.composum.sling.core.pckgmgr.jcrpckg.util.PackageProgressTracker.JsonTracking
-
- All Implemented Interfaces:
org.apache.jackrabbit.vault.fs.api.ProgressTrackerListener
- Enclosing class:
- PackageProgressTracker
public static class PackageProgressTracker.JsonTracking extends PackageProgressTracker.JsonStreamTracking
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.composum.sling.core.pckgmgr.jcrpckg.util.PackageProgressTracker
PackageProgressTracker.HtmlStreamTracking, PackageProgressTracker.HtmlTracking, PackageProgressTracker.Item, PackageProgressTracker.JsonStreamTracking, PackageProgressTracker.JsonTracking, PackageProgressTracker.LogOnlyTracking, PackageProgressTracker.TextWriterTracking
-
-
Field Summary
-
Fields inherited from class com.composum.sling.core.pckgmgr.jcrpckg.util.PackageProgressTracker.JsonStreamTracking
finalizedIndicator, writer
-
Fields inherited from class com.composum.sling.core.pckgmgr.jcrpckg.util.PackageProgressTracker
actionCount, errorCount, itemCount, PLAIN_TEXT_SHORT_ACTION_SPACE
-
-
Constructor Summary
Constructors Constructor Description JsonTracking(com.google.gson.stream.JsonWriter writer, Pattern finalizedIndicator)
JsonTracking(org.apache.sling.api.SlingHttpServletResponse response, Pattern finalizedIndicator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeEpilogue()
void
writePrologue()
-
Methods inherited from class com.composum.sling.core.pckgmgr.jcrpckg.util.PackageProgressTracker.JsonStreamTracking
writeItem
-
Methods inherited from class com.composum.sling.core.pckgmgr.jcrpckg.util.PackageProgressTracker
getErrorDetected, onError, onMessage
-
-
-
-
Constructor Detail
-
JsonTracking
public JsonTracking(org.apache.sling.api.SlingHttpServletResponse response, Pattern finalizedIndicator) throws IOException
- Throws:
IOException
-
JsonTracking
public JsonTracking(com.google.gson.stream.JsonWriter writer, Pattern finalizedIndicator)
-
-
Method Detail
-
writePrologue
public void writePrologue() throws IOException
- Overrides:
writePrologue
in classPackageProgressTracker.JsonStreamTracking
- Throws:
IOException
-
writeEpilogue
public void writeEpilogue() throws IOException
- Overrides:
writeEpilogue
in classPackageProgressTracker.JsonStreamTracking
- Throws:
IOException
-
-