public static enum SelectJdkToolchainMojo.JdkMode extends Enum<SelectJdkToolchainMojo.JdkMode>
Enum Constant and Description |
---|
IfMatch
favor the current JDK if it matches the requirements
|
IfSame
to not use a toolchain if the toolchains that would be selected is the current JDK
|
Never
always ignore the current JDK
|
Modifier and Type | Method and Description |
---|---|
static SelectJdkToolchainMojo.JdkMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectJdkToolchainMojo.JdkMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectJdkToolchainMojo.JdkMode Never
public static final SelectJdkToolchainMojo.JdkMode IfSame
public static final SelectJdkToolchainMojo.JdkMode IfMatch
public static SelectJdkToolchainMojo.JdkMode[] values()
for (SelectJdkToolchainMojo.JdkMode c : SelectJdkToolchainMojo.JdkMode.values()) System.out.println(c);
public static SelectJdkToolchainMojo.JdkMode 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 nullCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.