public final class RuntimeOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuntimeOptions.Descriptor |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
get(String optionName)
Get the value of the option with the provided name.
|
static RuntimeOptions.Descriptor |
getDescriptor(String optionName)
Looks up a single descriptor given an option name.
|
static List<RuntimeOptions.Descriptor> |
listDescriptors()
Lists all runtime option descriptors available.
|
static void |
set(String optionName,
Object value)
Set the value of the option with the provided name to the new value.
|
public static void set(String optionName, Object value)
public static <T> T get(String optionName)
public static List<RuntimeOptions.Descriptor> listDescriptors()
public static RuntimeOptions.Descriptor getDescriptor(String optionName)
null if no descriptor
could be found.