Class JohnsonEventCollectionSerializer
- java.lang.Object
-
- com.atlassian.confluence.impl.health.web.JohnsonEventCollectionSerializer
-
@ParametersAreNonnullByDefault public class JohnsonEventCollectionSerializer extends Object
Transforms a Collection of JohnsonEvent
s into the JSON Array needed by the Johnson page.- Since:
- 6.5.0
-
-
Constructor Summary
Constructors Constructor Description JohnsonEventCollectionSerializer(JohnsonEventSerializerFactory johnsonEventSerializerFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull JsonArray
toJson(Iterable<com.atlassian.johnson.event.Event> events)
Returns the JSON representation of the given Johnson events.
-
-
-
Constructor Detail
-
JohnsonEventCollectionSerializer
public JohnsonEventCollectionSerializer(JohnsonEventSerializerFactory johnsonEventSerializerFactory)
-
-