Package com.atlassian.bamboo.user
Interface BambooUser
- All Superinterfaces:
com.atlassian.user.Entity
,Principal
,Serializable
,com.atlassian.user.User
,org.acegisecurity.userdetails.UserDetails
- All Known Implementing Classes:
DefaultBambooUser
public interface BambooUser
extends com.atlassian.user.User, org.acegisecurity.userdetails.UserDetails
An extension to Atlassian user's
User
interface to define extra properties for the user-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable AccessToken
If user has been authenticated by access token returns meta-data of token.Returns the user's jabber address for IMsReturns the user's preferences for how they receive notificationsReturns the user's preference for the format of emailscom.atlassian.user.User
getUser()
Returns the user, which contains the user's detailsMethods inherited from interface com.atlassian.user.Entity
getName
Methods inherited from interface java.security.Principal
equals, getName, hashCode, implies, toString
Methods inherited from interface com.atlassian.user.User
getEmail, getFullName, isEnabled
Methods inherited from interface org.acegisecurity.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
-
Field Details
-
EMAIL_PREF
- See Also:
-
IM_PREF
- See Also:
-
NONE_PREF
- See Also:
-
BOTH_PREF
- See Also:
-
TEXT_EMAIL
- See Also:
-
MULTIPART_EMAIL
- See Also:
-
DEFAULT_NOTIFICATION_PREFERENCE
- See Also:
-
DEFAULT_TRANSPORT_PREFERENCE
- See Also:
-
-
Method Details
-
getJabberAddress
String getJabberAddress()Returns the user's jabber address for IMs- Returns:
- jabber address.
-
getUser
com.atlassian.user.User getUser()Returns the user, which contains the user's details- Returns:
- user.
-
getNotificationPreference
String getNotificationPreference()Returns the user's preferences for how they receive notifications- Returns:
- notification preference.
-
getNotificationTransportPreference
String getNotificationTransportPreference()Returns the user's preference for the format of emails- Returns:
- notification transport preference.
-
getAccessToken
If user has been authenticated by access token returns meta-data of token. Otherwise null.- Returns:
- access token
-