diff --git a/privmx-endpoint-extra/src/main/java/com/simplito/java/privmx_endpoint_extra/events/EventType.java b/privmx-endpoint-extra/src/main/java/com/simplito/java/privmx_endpoint_extra/events/EventType.java index 43be1f4..c091dbd 100644 --- a/privmx-endpoint-extra/src/main/java/com/simplito/java/privmx_endpoint_extra/events/EventType.java +++ b/privmx-endpoint-extra/src/main/java/com/simplito/java/privmx_endpoint_extra/events/EventType.java @@ -58,7 +58,7 @@ private EventType(String channel, String eventType, Class eventClass) { /** * Predefined event type that captures successful platform connection events. */ - public static EventType ConnectedEvent = new EventType<>( + public static final EventType ConnectedEvent = new EventType<>( "", "libConnected", Void.class @@ -68,7 +68,7 @@ private EventType(String channel, String eventType, Class eventClass) { * Predefined event type to catch special events. * This type could be used to emit/handle events with custom implementations (e.g. to break event loops). */ - public static EventType LibBreakEvent = new EventType<>( + public static final EventType LibBreakEvent = new EventType<>( "", "libBreak", Void.class @@ -77,7 +77,7 @@ private EventType(String channel, String eventType, Class eventClass) { /** * Predefined event type to catch disconnection events. */ - public static EventType DisconnectedEvent = new EventType<>( + public static final EventType DisconnectedEvent = new EventType<>( "", "libDisconnected", Void.class @@ -86,7 +86,7 @@ private EventType(String channel, String eventType, Class eventClass) { /** * Predefined event type to catch created Thread events. */ - public static EventType ThreadCreatedEvent = new EventType<>( + public static final EventType ThreadCreatedEvent = new EventType<>( "thread", "threadCreated", Thread.class @@ -95,7 +95,7 @@ private EventType(String channel, String eventType, Class eventClass) { /** * Predefined event type to catch updated Thread events. */ - public static EventType ThreadUpdatedEvent = new EventType<>( + public static final EventType ThreadUpdatedEvent = new EventType<>( "thread", "threadUpdated", Thread.class @@ -104,7 +104,7 @@ private EventType(String channel, String eventType, Class eventClass) { /** * Predefined event type to catch updated Thread stats events. */ - public static EventType ThreadStatsChangedEvent = new EventType<>( + public static final EventType ThreadStatsChangedEvent = new EventType<>( "thread", "threadStats", ThreadStatsEventData.class @@ -113,7 +113,7 @@ private EventType(String channel, String eventType, Class eventClass) { /** * Predefined event type to catch deleted Thread events. */ - public static EventType ThreadDeletedEvent = new EventType<>( + public static final EventType ThreadDeletedEvent = new EventType<>( "thread", "threadDeleted", ThreadDeletedEventData.class @@ -121,7 +121,7 @@ private EventType(String channel, String eventType, Class eventClass) { /** * Predefined event type to catch created Store events. */ - public static EventType StoreCreatedEvent = new EventType<>( + public static final EventType StoreCreatedEvent = new EventType<>( "store", "storeCreated", Store.class @@ -129,7 +129,7 @@ private EventType(String channel, String eventType, Class eventClass) { /** * Predefined event type to catch updated Store events. */ - public static EventType StoreUpdatedEvent = new EventType<>( + public static final EventType StoreUpdatedEvent = new EventType<>( "store", "storeUpdated", Store.class @@ -137,7 +137,7 @@ private EventType(String channel, String eventType, Class eventClass) { /** * Predefined event type to catch updated Store stats events. */ - public static EventType StoreStatsChangedEvent = new EventType<>( + public static final EventType StoreStatsChangedEvent = new EventType<>( "store", "storeStatsChanged", StoreStatsChangedEventData.class @@ -145,7 +145,7 @@ private EventType(String channel, String eventType, Class eventClass) { /** * Predefined event type to catch deleted Store stats events. */ - public static EventType StoreDeletedEvent = new EventType<>( + public static final EventType StoreDeletedEvent = new EventType<>( "store", "storeDeleted", StoreDeletedEventData.class