public class UserResourceIdentifier extends Object implements ResourceIdentifier
Constructor and Description |
---|
UserResourceIdentifier(String username)
Deprecated.
since 5.2. Use
create(UserKey)
or createForNonExistentUser(String) . |
Modifier and Type | Method and Description |
---|---|
static UserResourceIdentifier |
create(com.atlassian.sal.api.user.UserKey userKey) |
static UserResourceIdentifier |
createForNonExistentUser(String userName) |
static UserResourceIdentifier |
createFromUsernameSource(com.atlassian.sal.api.user.UserKey userKey,
String username) |
boolean |
equals(Object o) |
UnresolvedUsernameResourceIdentifier |
getUnresolvedUsernameResourceIdentifier() |
com.atlassian.sal.api.user.UserKey |
getUserKey() |
String |
getUsername()
Deprecated.
since 5.2. Use
getUserKey() |
int |
hashCode() |
boolean |
hasUserKey() |
boolean |
isCreatedFromUsernameSource() |
String |
toString() |
@Deprecated public UserResourceIdentifier(String username)
create(UserKey)
or createForNonExistentUser(String)
.@Deprecated public String getUsername()
getUserKey()
public boolean isCreatedFromUsernameSource()
public boolean hasUserKey()
public com.atlassian.sal.api.user.UserKey getUserKey()
public UnresolvedUsernameResourceIdentifier getUnresolvedUsernameResourceIdentifier()
public static UserResourceIdentifier create(com.atlassian.sal.api.user.UserKey userKey)
public static UserResourceIdentifier createFromUsernameSource(com.atlassian.sal.api.user.UserKey userKey, String username)
public static UserResourceIdentifier createForNonExistentUser(String userName)
Copyright © 2003–2016 Atlassian. All rights reserved.