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 boolean
equals(Object obj)
org.forgerock.services.context.Context
getContext()
Returns the context that triggered the event.JsonValue
getEvent()
Returns the event content.String
getTopic()
Returns the topic of the event.int
hashCode()
String
toString()
-
-
-
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
-
-