com.atlassian.jira.issue.fields.option
Class GroupOption
java.lang.Object
com.atlassian.jira.issue.fields.option.AbstractOption
com.atlassian.jira.issue.fields.option.GroupOption
- All Implemented Interfaces:
- Option, java.lang.Comparable
public class GroupOption
- extends AbstractOption
- implements Option
Constructor Summary |
GroupOption(com.opensymphony.user.Group group)
|
GroupOption(com.opensymphony.user.Group group,
java.lang.String alternateName)
|
GroupOption(java.lang.String alternateName)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
GroupOption
public GroupOption(com.opensymphony.user.Group group)
GroupOption
public GroupOption(java.lang.String alternateName)
GroupOption
public GroupOption(com.opensymphony.user.Group group,
java.lang.String alternateName)
getId
public java.lang.String getId()
- Specified by:
getId
in interface Option
getName
public java.lang.String getName()
- return the name of this group. if alternateName has been set, use that instead of the name set in the group
- Specified by:
getName
in interface Option
getRawName
public java.lang.String getRawName()
- get the group name regardless of whether an alternate name has been set
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface Option
getGroup
public com.opensymphony.user.Group getGroup()
getChildOptions
public java.util.List getChildOptions()
- get the users to be displayed under this groups option. Does not necessarily have the actual users of this group
- Specified by:
getChildOptions
in interface Option
- Overrides:
getChildOptions
in class AbstractOption
- Returns:
- List of
Option
objects. Collections.EMPTY_LIST
if no children
addChildOption
public void addChildOption(UserOption userOption)
Copyright © 2002-2010 Atlassian. All Rights Reserved.