Class AliasEvent

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

public class AliasEvent extends Object implements OperationEvent
Since:
2.6.2
  • Method Details

    • getOperation

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

      public long getApplicationId()
    • getUsername

      public String getUsername()
    • getNewAlias

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

      public Long getDirectoryId()
      Specified by:
      getDirectoryId in interface OperationEvent
      Returns:
      always return null, because aliases are not associated to any directory
    • created

      public static AliasEvent created(long applicationId, String user, String newAlias)
    • updated

      public static AliasEvent updated(long applicationId, String user, String newAlias)
    • deleted

      public static AliasEvent deleted(String user, long applicationId)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object