OptionDescriptor.
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | |
| public OptionDescriptors | |
| public boolean | hasBeenSet(OptionKey<?> optionKey)
Determines if a value for |
| public default boolean | |
| public default <T> void | set(OptionKey<T> optionKey, T value)
Deprecated
since 22.0.
OptionValues should be read-only.
Sets the value of |
| get | back to summary |
|---|---|
| public <T> T get(OptionKey<T> optionKey) Returns the value of a given option.
| |
| getDescriptors | back to summary |
|---|---|
| public OptionDescriptors getDescriptors() Returns all available options.
| |
| hasBeenSet | back to summary |
|---|---|
| public boolean hasBeenSet(OptionKey<?> optionKey) Determines if a value for
| |
| hasSetOptions | back to summary |
|---|---|
| public default boolean hasSetOptions() Determines if a value for any of the option keys in
| |
| set | back to summary |
|---|---|
| public default <T> void set(OptionKey<T> optionKey, T value)
Deprecated since 22.0.
Sets the value of
| |