Class GroupOption
java.lang.Object
com.atlassian.jira.issue.fields.option.AbstractOption
com.atlassian.jira.issue.fields.option.GroupOption
- All Implemented Interfaces:
Option,Comparable
-
Constructor Summary
ConstructorsConstructorDescriptionGroupOption(com.atlassian.crowd.embedded.api.Group group) GroupOption(com.atlassian.crowd.embedded.api.Group group, String alternateName) GroupOption(String alternateName) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildOption(AbstractChildOption childOption) get the users to be displayed under this groups option.com.atlassian.crowd.embedded.api.GroupgetGroup()getId()getName()return the name of this group.get the group name regardless of whether an alternate name has been setMethods inherited from class com.atlassian.jira.issue.fields.option.AbstractOption
compareTo, equals, getCssClass, getImagePath, getImagePathHtml, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.issue.fields.option.Option
getCssClass, getImagePath, getImagePathHtml
-
Constructor Details
-
GroupOption
public GroupOption(com.atlassian.crowd.embedded.api.Group group) -
GroupOption
-
GroupOption
-
-
Method Details
-
getId
-
getName
return the name of this group. if alternateName has been set, use that instead of the name set in the group -
getRawName
get the group name regardless of whether an alternate name has been set -
getDescription
- Specified by:
getDescriptionin interfaceOption
-
getGroup
public com.atlassian.crowd.embedded.api.Group getGroup() -
getChildOptions
get the users to be displayed under this groups option. Does not necessarily have the actual users of this group- Specified by:
getChildOptionsin interfaceOption- Overrides:
getChildOptionsin classAbstractOption- Returns:
- List of
Optionobjects. (empty list if no children)
-
addChildOption
-