Interface SimpleOption<T extends SimpleOption<T>>
- All Known Subinterfaces:
Option
- All Known Implementing Classes:
CustomFieldOptionsResource.Option,LazyLoadedOption,MockOption,MockSimpleOption
@ExperimentalApi
public interface SimpleOption<T extends SimpleOption<T>>
Represents the basic properties of a custom field option in JIRA. The
Option is more heavy weight interface
that can be used when the options actually exist in the database.- Since:
- v6.2
-
Method Summary
Modifier and TypeMethodDescriptionReturn a list of options that exist under this option (i.e.The ID of the option or null if it currently does not have one.getValue()The current value of the option.
-
Method Details
-
getOptionId
The ID of the option or null if it currently does not have one.- Returns:
- the ID of the option or null if it does not have one.
-
getValue
String getValue()The current value of the option. This is the option displayed to the user.- Returns:
- the value of the option.
-
getChildOptions
Return a list of options that exist under this option (i.e. its children).- Returns:
- the list of options that exist under this option. An empty list is returned when such options exist.
-