com.atlassian.crowd.model.event
Class AliasEvent

java.lang.Object
  extended by com.atlassian.crowd.model.event.AliasEvent
All Implemented Interfaces:
OperationEvent

public class AliasEvent
extends Object
implements OperationEvent

Since:
2.6.2

Method Summary
static AliasEvent created(Application application, String user, String newAlias)
           
static AliasEvent deleted(Application application, String user)
           
 boolean equals(Object o)
           
 Application getApplication()
           
 Directory getDirectory()
           
 String getNewAlias()
           
 Operation getOperation()
           
 String getUsername()
           
 int hashCode()
           
static AliasEvent updated(Application application, String user, String newAlias)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOperation

public Operation getOperation()
Specified by:
getOperation in interface OperationEvent

getApplication

public Application getApplication()

getUsername

public String getUsername()

getNewAlias

@Nullable
public String getNewAlias()
Returns:
the new alias for CREATED and UPDATED events

getDirectory

public Directory getDirectory()
Specified by:
getDirectory in interface OperationEvent
Returns:
always return null, because aliases are not associated to any directory

created

public static AliasEvent created(Application application,
                                 String user,
                                 String newAlias)

updated

public static AliasEvent updated(Application application,
                                 String user,
                                 String newAlias)

deleted

public static AliasEvent deleted(Application application,
                                 String user)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013 Atlassian. All Rights Reserved.