Class OptionGroup

java.lang.Object
com.atlassian.jira.issue.fields.option.OptionGroup
All Implemented Interfaces:
SelectChild

public class OptionGroup extends Object implements SelectChild
Same as an HTML optgroup. Holds
Since:
v4.4
  • Constructor Details

    • OptionGroup

      public OptionGroup(String id, String display, String footer, int weight)
    • OptionGroup

      public OptionGroup(String id, String display, int weight)
  • Method Details

    • add

      public void add(AssigneeOption option)
    • getId

      public String getId()
    • getFooter

      public String getFooter()
    • getDisplay

      public String getDisplay()
    • getWeight

      public int getWeight()
    • getGroupOptions

      public List<AssigneeOption> getGroupOptions()
    • isOptionGroup

      public boolean isOptionGroup()
      Used to differentiate a map representation of this object from an AssigneeOption.
      Specified by:
      isOptionGroup in interface SelectChild
      Returns:
      true if this class is an option group