public class AssigneeOption extends Object implements Option, SelectChild
Constructor and Description |
---|
AssigneeOption(String optionName,
String displayName,
boolean optionEnabled)
Deprecated.
Use
AssigneeOption(String, String, String, String) instead. Since v5.0. |
AssigneeOption(String optionName,
String displayName,
String emailAddress,
String avatarURL) |
Modifier and Type | Method and Description |
---|---|
String |
getAvatarURL() |
List |
getChildOptions()
Returns a list of dependent child options.
|
String |
getCssClass() |
String |
getDescription() |
String |
getDisplayName() |
String |
getEmailAddress() |
String |
getId() |
String |
getImagePath() |
String |
getImagePathHtml()
Returns the HTML-encoded image path for this Option.
|
String |
getName() |
String |
getOptionName() |
boolean |
isLoggedInUser() |
boolean |
isOptionEnabled() |
boolean |
isOptionGroup()
Return true if this implementation represents an <optgroup>, else false.
|
boolean |
isSelected() |
void |
setDisplayName(String displayName) |
void |
setLoggedInUser(boolean isLoggedInUser) |
void |
setOptionEnabled(boolean optionEnabled) |
void |
setOptionName(String optionName) |
void |
setSelected(boolean selected) |
String |
toString() |
public AssigneeOption(String optionName, String displayName, boolean optionEnabled)
AssigneeOption(String, String, String, String)
instead. Since v5.0.public String getDescription()
getDescription
in interface Option
public String getEmailAddress()
public String getAvatarURL()
public String getImagePath()
getImagePath
in interface Option
public String getImagePathHtml()
Option
getImagePathHtml
in interface Option
Option.getImagePath()
public String getCssClass()
getCssClass
in interface Option
public List getChildOptions()
Option
getChildOptions
in interface Option
Option
objects. (empty list if no children)public String getOptionName()
public void setOptionName(String optionName)
public String getDisplayName()
public void setDisplayName(String displayName)
public boolean isOptionEnabled()
public void setOptionEnabled(boolean optionEnabled)
public boolean isSelected()
public void setSelected(boolean selected)
public boolean isLoggedInUser()
public void setLoggedInUser(boolean isLoggedInUser)
public boolean isOptionGroup()
SelectChild
isOptionGroup
in interface SelectChild
Copyright © 2002-2021 Atlassian. All Rights Reserved.