Package org.forgerock.openidm.sync.impl
Class SyncAuditEventBuilder
java.lang.Object
org.forgerock.audit.events.AuditEventBuilder<T>
org.forgerock.openidm.sync.impl.SyncAuditEventBuilder
public class SyncAuditEventBuilder
extends org.forgerock.audit.events.AuditEventBuilder<T>
This is the audit event builder for SYNC event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.forgerock.audit.events.AuditEventBuilder
EVENT_NAME, jsonValue, TRACKING_IDS, TRANSACTION_ID, USER_ID -
Method Summary
Modifier and TypeMethodDescriptionaction(ReconAction action) Sets the Action of the event: CREATE, UPDATE, LINK, etc.static SyncAuditEventBuilderSets the exception field of the event.linkQualifier(String linkQualifier) Sets the linkQualifier of the event.Sets the mapping of the event.Sets the message of the event.messageDetail(org.forgerock.json.JsonValue details) Sets the messageDetail of the event.situation(org.forgerock.openidm.sync.impl.Situation situation) Saves the situation on the event.sourceObjectId(String sourceObjectId) Saves the sourceObjectId on the event.Saves the status of the sync on the event.targetObjectId(String targetObjectId) Saves the targetObjectId on the event.Saves the timestamp on the event.Methods inherited from class org.forgerock.audit.events.AuditEventBuilder
eventName, requireField, self, setDefaults, timestamp, toEvent, trackingId, trackingIds, transactionId, transactionIdFromContext, userId, validate
-
Field Details
-
ACTION
- See Also:
-
EXCEPTION
- See Also:
-
LINK_QUALIFIER
- See Also:
-
MAPPING
- See Also:
-
MESSAGE
- See Also:
-
MESSAGE_DETAIL
- See Also:
-
SITUATION
- See Also:
-
SOURCE_OBJECT_ID
- See Also:
-
STATUS
- See Also:
-
TARGET_OBJECT_ID
- See Also:
-
TIMESTAMP
- See Also:
-
-
Method Details
-
auditEventBuilder
-
action
Sets the Action of the event: CREATE, UPDATE, LINK, etc.- Parameters:
action-- Returns:
- See Also:
-
exception
Sets the exception field of the event.- Parameters:
exception-- Returns:
- See Also:
-
linkQualifier
Sets the linkQualifier of the event.- Parameters:
linkQualifier-- Returns:
- See Also:
-
mapping
Sets the mapping of the event.- Parameters:
mapping-- Returns:
- See Also:
-
message
Sets the message of the event.- Parameters:
message-- Returns:
- See Also:
-
messageDetail
Sets the messageDetail of the event.- Parameters:
details-- Returns:
- See Also:
-
situation
Saves the situation on the event.- Parameters:
situation-- Returns:
- See Also:
-
sourceObjectId
Saves the sourceObjectId on the event.- Parameters:
sourceObjectId-- Returns:
- See Also:
-
status
Saves the status of the sync on the event.- Parameters:
status-- Returns:
- See Also:
-
targetObjectId
Saves the targetObjectId on the event.- Parameters:
targetObjectId-- Returns:
- See Also:
-
timestamp
Saves the timestamp on the event.- Parameters:
timestamp-- Returns:
- See Also:
-