public static enum JavaCompilerFacet.CompilerVersion extends Enum<JavaCompilerFacet.CompilerVersion>
Enum Constant and Description |
---|
JAVA_1_3 |
JAVA_1_4 |
JAVA_1_5 |
JAVA_1_6 |
JAVA_1_7 |
JAVA_1_8 |
Modifier and Type | Method and Description |
---|---|
static JavaCompilerFacet.CompilerVersion |
getValue(String value) |
String |
toString() |
static JavaCompilerFacet.CompilerVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaCompilerFacet.CompilerVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaCompilerFacet.CompilerVersion JAVA_1_3
public static final JavaCompilerFacet.CompilerVersion JAVA_1_4
public static final JavaCompilerFacet.CompilerVersion JAVA_1_5
public static final JavaCompilerFacet.CompilerVersion JAVA_1_6
public static final JavaCompilerFacet.CompilerVersion JAVA_1_7
public static final JavaCompilerFacet.CompilerVersion JAVA_1_8
public static JavaCompilerFacet.CompilerVersion[] values()
for (JavaCompilerFacet.CompilerVersion c : JavaCompilerFacet.CompilerVersion.values()) System.out.println(c);
public static JavaCompilerFacet.CompilerVersion 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 nullpublic String toString()
toString
in class Enum<JavaCompilerFacet.CompilerVersion>
public static JavaCompilerFacet.CompilerVersion getValue(String value)
Copyright © 2016 JBoss by Red Hat. All rights reserved.