Package alpine.event
Class LdapSyncEvent
- java.lang.Object
-
- alpine.event.LdapSyncEvent
-
- All Implemented Interfaces:
Event
public class LdapSyncEvent extends Object implements Event
An Event implementation specific for LDAP synchronization tasks.- Since:
- 1.0.0
- Author:
- Steve Springett
- See Also:
LdapSyncTask
-
-
Constructor Summary
Constructors Constructor Description LdapSyncEvent()Default constructor.LdapSyncEvent(String username)Use of this constructor will indicate that only the specified LdapUser object will need to be synchronized.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetUsername()Returns the username of the LdapUser to synchronize.
-
-
-
Constructor Detail
-
LdapSyncEvent
public LdapSyncEvent()
Default constructor. This will indicate the all LdapUser objects need to be synchronized.
-
LdapSyncEvent
public LdapSyncEvent(String username)
Use of this constructor will indicate that only the specified LdapUser object will need to be synchronized.- Parameters:
username- the username of the LdapUser to syncronize
-
-
Method Detail
-
getUsername
public String getUsername()
Returns the username of the LdapUser to synchronize. This method will return null if the default constructor was used.- Returns:
- a String of the username
-
-