@ParametersAreNonnullByDefault public class JohnsonEventSerializerFactory extends Object
InteractiveJohnsonEventSerializer
while the original implementation gets serialized by LegacyJohnsonEventSerializer
Constructor and Description |
---|
JohnsonEventSerializerFactory(String contextPath) |
Modifier and Type | Method and Description |
---|---|
JohnsonEventSerializer |
forEvent(com.atlassian.johnson.event.Event event)
Takes a Johnson
Event and returns a serializer based on the UI-Version specified on the Event. |
public JohnsonEventSerializerFactory(String contextPath)
@Nonnull public JohnsonEventSerializer forEvent(com.atlassian.johnson.event.Event event)
Event
and returns a serializer based on the UI-Version specified on the Event.
This can be:
- InteractiveJohnsonEventSerializer
as of CPU-59
- LegacyJohnsonEventSerializer
for pre CPU-59 Johnson EventsCopyright © 2002-2021 Atlassian. All Rights Reserved.