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, Comparable
public class GroupOption
- extends AbstractOption
- implements Option
GroupOption
public GroupOption(com.atlassian.crowd.embedded.api.Group group)
GroupOption
public GroupOption(String alternateName)
GroupOption
public GroupOption(com.atlassian.crowd.embedded.api.Group group,
String alternateName)
getId
public String getId()
- Specified by:
getId
in interface Option
getName
public 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 String getRawName()
- get the group name regardless of whether an alternate name has been set
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Option
getGroup
public com.atlassian.crowd.embedded.api.Group getGroup()
getChildOptions
public 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. (empty list if no children)
addChildOption
public void addChildOption(AbstractChildOption childOption)
Copyright © 2002-2011 Atlassian. All Rights Reserved.