public enum JavaVmType extends java.lang.Enum<JavaVmType> implements PersistentName
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TOOLS_JAR |
Modifier and Type | Method and Description |
---|---|
static JavaVmType |
fromFile(java.io.File installationDir) |
static JavaVmType |
fromPersistentName(java.lang.String vmTypeStr) |
java.lang.String |
getJvmTypeName() |
java.lang.String |
getPersistentName()
Returns the String value to be stored in the database or file.
|
java.lang.String |
toString() |
static JavaVmType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaVmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaVmType JRE
public static final JavaVmType JDK
public static final java.lang.String TOOLS_JAR
public static JavaVmType[] values()
for (JavaVmType c : JavaVmType.values()) System.out.println(c);
public static JavaVmType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getJvmTypeName()
public java.lang.String getPersistentName()
PersistentName
getPersistentName
in interface PersistentName
public java.lang.String toString()
toString
in class java.lang.Enum<JavaVmType>
public static JavaVmType fromFile(java.io.File installationDir)
public static JavaVmType fromPersistentName(java.lang.String vmTypeStr)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.