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
(Context context, String topic, JsonValue event) Creates a (topic,event) pair. -
Method Summary
-
Constructor Details
-
AuditEventTopicState
Creates a (topic,event) pair.- Parameters:
context
- The context that triggered the audit event.topic
- The topic.event
- The event content.
-
-
Method Details
-
getTopic
Returns the topic of the event.- Returns:
- the topic
-
getEvent
Returns the event content.- Returns:
- the event
-
getContext
Returns the context that triggered the event.- Returns:
- the context
-
hashCode
public int hashCode() -
equals
-
toString
-