Package com.nimbusds.ldapsync
Class AddEntryEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.nimbusds.ldapsync.SyncTaskEvent
-
- com.nimbusds.ldapsync.AddEntryEvent
-
- All Implemented Interfaces:
Serializable
public class AddEntryEvent extends SyncTaskEvent
Event indicating the addition (via ldap.add) of an entry to the target directory.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description AddEntryEvent(SyncTask source, String message, com.unboundid.ldap.sdk.DN sourceDN, com.unboundid.ldap.sdk.DN targetDN)
Creates a new add entry event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.unboundid.ldap.sdk.DN
getSourceDN()
Gets the distinct name (DN) of the source directory entry.com.unboundid.ldap.sdk.DN
getTargetDN()
Gets the distinct name (DN) of the added target directory entry.-
Methods inherited from class com.nimbusds.ldapsync.SyncTaskEvent
getMessage, getTimestamp
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
AddEntryEvent
public AddEntryEvent(SyncTask source, String message, com.unboundid.ldap.sdk.DN sourceDN, com.unboundid.ldap.sdk.DN targetDN)
Creates a new add entry event.- Parameters:
source
- The event source.message
- The event message.sourceDN
- The distinguished name (DN) of the source directory entry.targetDN
- The distinguished name (DN) of the added target directory entry.
-
-
Method Detail
-
getSourceDN
public com.unboundid.ldap.sdk.DN getSourceDN()
Gets the distinct name (DN) of the source directory entry.- Returns:
- The source entry DN.
-
getTargetDN
public com.unboundid.ldap.sdk.DN getTargetDN()
Gets the distinct name (DN) of the added target directory entry.- Returns:
- The target entry DN.
-
-