@ParametersAreNonnullByDefault public class LegacyJohnsonEventSerializer extends Object implements JohnsonEventSerializer
Event
s, i.e. that do not have the attributes required by the
new Johnson UI introduced in Confluence 6.5. Once all Johnson events raised by Confluence contain these attributes,
we can delete this class and the JohnsonEventSerializerFactory
.DefaultJohnsonEventSerializer
Constructor and Description |
---|
LegacyJohnsonEventSerializer(I18NBeanFactory i18NBeanFactory) |
Modifier and Type | Method and Description |
---|---|
@NonNull Json |
toJson(@NonNull com.atlassian.johnson.event.Event johnsonEvent)
Converts the given Johnson
Event to JSON. |
public LegacyJohnsonEventSerializer(I18NBeanFactory i18NBeanFactory)
public @NonNull Json toJson(@NonNull com.atlassian.johnson.event.Event johnsonEvent)
JohnsonEventSerializer
Event
to JSON.toJson
in interface JohnsonEventSerializer
johnsonEvent
- the event to serializeCopyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences