Serializable
, Comparable<VMOption.Origin>
, Constable
VMOption
public static enum VMOption.Origin extends Enum<VMOption.Origin>
Enum.EnumDesc<E extends Enum<E>>
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 |
Returns the enum constant of this class with the specified name. |
static VMOption.Origin[] |
values() |
Returns an array containing the constants of this enum class, 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()
public static VMOption.Origin valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.management/com/sun/management/VMOption.Origin.html