Class JohnsonEventCollectionSerializer
java.lang.Object
com.atlassian.confluence.impl.health.web.JohnsonEventCollectionSerializer
Transforms a Collection of Johnson
Event
s into the JSON Array needed by the Johnson page.- Since:
- 6.5.0
-
Constructor Summary
ConstructorsConstructorDescriptionJohnsonEventCollectionSerializer
(JohnsonEventSerializerFactory johnsonEventSerializerFactory) -
Method Summary
-
Constructor Details
-
JohnsonEventCollectionSerializer
public JohnsonEventCollectionSerializer(JohnsonEventSerializerFactory johnsonEventSerializerFactory)
-
-
Method Details
-
toJson
Returns the JSON representation of the given Johnson events.- Parameters:
events
- the events to serialize- Returns:
- the JSON
-