Class AuditEventTopicState
- java.lang.Object
-
- org.forgerock.audit.events.handlers.AuditEventTopicState
-
public final class AuditEventTopicState extends Object
Stores the state of the details sent toAuditEventHandler.publishEvent(Context, String, JsonValue). The state contains the context, topic, and event content.
-
-
Constructor Summary
Constructors Constructor Description AuditEventTopicState(org.forgerock.services.context.Context context, String topic, JsonValue event)Creates a (topic,event) pair.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)org.forgerock.services.context.ContextgetContext()Returns the context that triggered the event.JsonValuegetEvent()Returns the event content.StringgetTopic()Returns the topic of the event.inthashCode()StringtoString()
-
-
-
Method Detail
-
getTopic
public String getTopic()
Returns the topic of the event.- Returns:
- the topic
-
getEvent
public JsonValue getEvent()
Returns the event content.- Returns:
- the event
-
getContext
public org.forgerock.services.context.Context getContext()
Returns the context that triggered the event.- Returns:
- the context
-
-