Class AuditEventTopicState
java.lang.Object
org.forgerock.audit.events.handlers.AuditEventTopicState
Stores the state of the details sent to
AuditEventHandler.publishEvent(Context, String, JsonValue)
.
The state contains the context, topic, and event content.-
Constructor Summary
ConstructorDescriptionAuditEventTopicState
(org.forgerock.services.context.Context context, String topic, JsonValue event) Creates a (topic,event) pair. -
Method Summary
-
Constructor Details
-
Method Details
-
getTopic
Returns the topic of the event.- Returns:
- the topic
-
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
-
hashCode
public int hashCode() -
equals
-
toString
-