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:
BambooUserForMigration, 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
static String BOTH_PREF
           
static String DEFAULT_IDE_PORT
           
static String DEFAULT_NOTIFICATION_PREFERENCE
           
static String DEFAULT_TRANSPORT_PREFERENCE
           
static String EMAIL_PREF
           
static String IM_PREF
           
static String MULTIPART_EMAIL
           
static String NONE_PREF
           
static String TEXT_EMAIL
           
 
Method Summary
 String getIdePort()
          Returns the port the user has configured for direct click through to their IDE
 String getJabberAddress()
          Returns the user's jabber address for IMs
 String getNotificationPreference()
          Returns the user's preferences for how they receive notifications
 String getNotificationTransportPreference()
          Returns the user's preference for the format of emails
 com.atlassian.user.User getUser()
          Returns the user, which contains the user's details
 
Methods inherited from interface com.atlassian.user.User
getEmail, getFullName
 
Methods inherited from interface com.atlassian.user.Entity
getName
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 
Methods inherited from interface org.acegisecurity.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
 

Field Detail

EMAIL_PREF

static final String EMAIL_PREF
See Also:
Constant Field Values

IM_PREF

static final String IM_PREF
See Also:
Constant Field Values

NONE_PREF

static final String NONE_PREF
See Also:
Constant Field Values

BOTH_PREF

static final String BOTH_PREF
See Also:
Constant Field Values

TEXT_EMAIL

static final String TEXT_EMAIL
See Also:
Constant Field Values

MULTIPART_EMAIL

static final String MULTIPART_EMAIL
See Also:
Constant Field Values

DEFAULT_NOTIFICATION_PREFERENCE

static final String DEFAULT_NOTIFICATION_PREFERENCE
See Also:
Constant Field Values

DEFAULT_TRANSPORT_PREFERENCE

static final String DEFAULT_TRANSPORT_PREFERENCE
See Also:
Constant Field Values

DEFAULT_IDE_PORT

static final String DEFAULT_IDE_PORT
See Also:
Constant Field Values
Method Detail

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.

getIdePort

String getIdePort()
Returns the port the user has configured for direct click through to their IDE

Returns:
IDE port number


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.