com.atlassian.jira.projectconfig.rest.global
Class CustomFieldOptionsResource.Option
java.lang.Object
com.atlassian.jira.projectconfig.rest.global.CustomFieldOptionsResource.Option
- All Implemented Interfaces:
- SimpleOption<CustomFieldOptionsResource.Option>
- Enclosing class:
- CustomFieldOptionsResource
public static class CustomFieldOptionsResource.Option
- extends Object
- implements SimpleOption<CustomFieldOptionsResource.Option>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomFieldOptionsResource.Option
public CustomFieldOptionsResource.Option(Long id,
String name)
getId
public Long getId()
getName
public String getName()
getOptionId
public Long getOptionId()
- Description copied from interface:
SimpleOption
- The ID of the option or null if it currently does not have one.
- Specified by:
getOptionId
in interface SimpleOption<CustomFieldOptionsResource.Option>
- Returns:
- the ID of the option or null if it does not have one.
getValue
public String getValue()
- Description copied from interface:
SimpleOption
- The current value of the option. This is the option displayed to the user.
- Specified by:
getValue
in interface SimpleOption<CustomFieldOptionsResource.Option>
- Returns:
- the value of the option.
getChildOptions
@Nonnull
public List<CustomFieldOptionsResource.Option> getChildOptions()
- Description copied from interface:
SimpleOption
- Return a list of options that exist under this option (i.e. its children).
- Specified by:
getChildOptions
in interface SimpleOption<CustomFieldOptionsResource.Option>
- Returns:
- the list of options that exist under this option. An empty list is returned when such options exist.
Copyright © 2002-2013 Atlassian. All Rights Reserved.