@Exported public static enum VMOption.Origin extends Enum<VMOption.Origin>
Enum Constant and Description |
---|
CONFIG_FILE
The VM option was set via a configuration file.
|
DEFAULT
The VM option has not been set and its value
is the default value.
|
ENVIRON_VAR
The VM option was set via an environment variable.
|
ERGONOMIC
The VM option was set via the VM ergonomic support.
|
MANAGEMENT
The VM option was set via the management interface after the VM
was started.
|
OTHER
The VM option was set via some other mechanism.
|
VM_CREATION
The VM option was set at VM creation time typically
as a command line argument to the launcher or
an argument passed to the VM created using the
JNI invocation interface.
|
Modifier and Type | Method and Description |
---|---|
static VMOption.Origin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VMOption.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VMOption.Origin DEFAULT
public static final VMOption.Origin VM_CREATION
public static final VMOption.Origin ENVIRON_VAR
public static final VMOption.Origin CONFIG_FILE
public static final VMOption.Origin MANAGEMENT
public static final VMOption.Origin ERGONOMIC
public static final VMOption.Origin OTHER
public static VMOption.Origin[] values()
for (VMOption.Origin c : VMOption.Origin.values()) System.out.println(c);
public static VMOption.Origin valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
Copyright © 2003, 2015, Oracle and/or its affiliates. All rights reserved.