@PublicApi public interface Options extends List<Option>
Modifier and Type | Method and Description |
---|---|
Option |
addOption(Option parent,
String value) |
void |
decrementSequence(Option option) |
void |
disableOption(Option option) |
void |
enableOption(Option option) |
Option |
getOptionById(Long optionId) |
Option |
getOptionForValue(String value,
Long parentOptionId) |
FieldConfig |
getRelatedFieldConfig() |
List<Option> |
getRootOptions()
This is the same as
getOptions(null) |
void |
incrementSequence(Option option) |
void |
moveOptionToPosition(Map<Integer,Option> positionsToOptions) |
void |
moveToLastSequence(Option option) |
void |
moveToStartSequence(Option option) |
void |
removeOption(Option option) |
void |
setValue(Option option,
String value) |
void |
sortOptionsByValue(Option parentOption) |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
void removeOption(Option option)
void moveToStartSequence(Option option)
void incrementSequence(Option option)
void decrementSequence(Option option)
void moveToLastSequence(Option option)
void enableOption(Option option)
void disableOption(Option option)
FieldConfig getRelatedFieldConfig()
void sortOptionsByValue(Option parentOption)
Copyright © 2002-2015 Atlassian. All Rights Reserved.