public final class RuntimeOptions extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
get(String optionName)
Get the value of the option with the provided name.
|
static OptionDescriptors |
getOptions()
Returns all available run time options.
|
static void |
runStartupHooks()
Runs all startup hooks that were registered during image building.
|
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 OptionDescriptors getOptions()
public static void runStartupHooks()
Invoking this method more than once has no effect, i.e., startup hooks are only executed at the first invocation.