Serializable
, Comparable<VMOption.Origin>
public static enum VMOption.Origin extends Enum<VMOption.Origin>
Enum Constant | Description |
---|---|
ATTACH_ON_DEMAND |
The VM option was set using the attach framework.
|
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 | 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 ATTACH_ON_DEMAND
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 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2003, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b161-1