Class ImmutableAuditLogAuthor

java.lang.Object
com.atlassian.crowd.audit.ImmutableAuditLogAuthor
All Implemented Interfaces:
AuditLogAuthor

public class ImmutableAuditLogAuthor extends Object implements AuditLogAuthor
Concrete implementation of an audit log author
  • Constructor Details

  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in interface AuditLogAuthor
      Returns:
      the identifier of the author of the audit log entry (exact semantic depends on the author type)
    • getName

      public String getName()
      Description copied from interface: AuditLogAuthor
      Returns the name of the author of the audit log entry. This is particularly useful when the author does not exist anymore
      Specified by:
      getName in interface AuditLogAuthor
      Returns:
      the name of the author of the audit log entry
    • getType

      public AuditLogAuthorType getType()
      Specified by:
      getType in interface AuditLogAuthor
      Returns:
      information about the type of the event represented by this audit log entry
    • 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