| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> T | |
| public static RuntimeOptions. | |
| public static List | |
| public static void |
| RuntimeOptions | back to summary |
|---|---|
| private RuntimeOptions() | |
| get | back to summary |
|---|---|
| public static <T> T get(String optionName) Get the value of the option with the provided name.
| |
| getDescriptor | back to summary |
|---|---|
| public static RuntimeOptions. Looks up a single descriptor given an option name. Returns
| |
| listDescriptors | back to summary |
|---|---|
| public static List Lists all runtime option descriptors available.
| |
| set | back to summary |
|---|---|
| public static void set(String optionName, Object value) Set the value of the option with the provided name to the new value.
| |
| Modifier and Type | Method and Description |
|---|---|
| public Object | convertValue(String value)
Converts a string value, validates it, and converts it to an object of this type. |
| public Object | |
| public boolean | |
| public String | |
| public String | |
| public String | |
| public Class |
| convertValue | back to summary |
|---|---|
| public Object convertValue(String value) throws IllegalArgumentException Converts a string value, validates it, and converts it to an object of this type. For option maps includes the previous map stored for the option and the key.
| |
| defaultValue | back to summary |
|---|---|
| public Object defaultValue() Returns the default value of type
| |
| deprecated | back to summary |
|---|---|
| public boolean deprecated() Returns
| |
| deprecatedMessage | back to summary |
|---|---|
| public String deprecatedMessage() Returns the deprecation reason and the recommended fix. For newlines, use
| |
| help | back to summary |
|---|---|
| public String help() Returns a human-readable description on how to use the option. For newlines, use
| |
| name | back to summary |
|---|---|
| public String name() Returns the name of the option that this descriptor represents.
| |
| valueType | back to summary |
|---|---|
| public Class Returns the option type of this key. Typical values are
| |