com.atlassian.crowd.acceptance.tests.directory
Class ImmutableUser
java.lang.Object
com.atlassian.crowd.acceptance.tests.directory.ImmutableUser
- All Implemented Interfaces:
- com.atlassian.crowd.embedded.api.User, DirectoryEntity, Comparable<com.atlassian.crowd.embedded.api.User>, Principal
public final class ImmutableUser
- extends Object
- implements User
|
Constructor Summary |
ImmutableUser(long directoryId,
String name,
String firstName,
String lastName,
String displayName,
String emailAddress)
|
ImmutableUser(long directoryId,
String name,
String firstName,
String lastName,
String displayName,
String emailAddress,
String externalId)
|
ImmutableUser
public ImmutableUser(long directoryId,
String name,
String firstName,
String lastName,
String displayName,
String emailAddress)
ImmutableUser
public ImmutableUser(long directoryId,
String name,
String firstName,
String lastName,
String displayName,
String emailAddress,
String externalId)
getDirectoryId
public long getDirectoryId()
- Specified by:
getDirectoryId in interface com.atlassian.crowd.embedded.api.User- Specified by:
getDirectoryId in interface DirectoryEntity
getName
public String getName()
- Specified by:
getName in interface DirectoryEntity- Specified by:
getName in interface Principal
getFirstName
public String getFirstName()
getLastName
public String getLastName()
getEmailAddress
public String getEmailAddress()
- Specified by:
getEmailAddress in interface com.atlassian.crowd.embedded.api.User
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface com.atlassian.crowd.embedded.api.User
isActive
public boolean isActive()
- Specified by:
isActive in interface com.atlassian.crowd.embedded.api.User
getExternalId
public String getExternalId()
equals
public boolean equals(Object o)
- Specified by:
equals in interface com.atlassian.crowd.embedded.api.User- Specified by:
equals in interface DirectoryEntity- Specified by:
equals in interface Principal- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.atlassian.crowd.embedded.api.User- Specified by:
hashCode in interface DirectoryEntity- Specified by:
hashCode in interface Principal- Overrides:
hashCode in class Object
compareTo
public int compareTo(com.atlassian.crowd.embedded.api.User other)
- Specified by:
compareTo in interface com.atlassian.crowd.embedded.api.User- Specified by:
compareTo in interface Comparable<com.atlassian.crowd.embedded.api.User>
Copyright © 2014 Atlassian. All Rights Reserved.