public static enum JDKInstaller.Platform extends Enum<JDKInstaller.Platform>
Modifier and Type | Field and Description |
---|---|
String |
bundleFileName
Choose the file name suitable for the downloaded JDK bundle.
|
Modifier and Type | Method and Description |
---|---|
static JDKInstaller.Platform |
current() |
boolean |
is(String line) |
static JDKInstaller.Platform |
of(Node n)
Determines the platform of the given node.
|
static JDKInstaller.Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JDKInstaller.Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JDKInstaller.Platform LINUX
public static final JDKInstaller.Platform SOLARIS
public static final JDKInstaller.Platform WINDOWS
public static final JDKInstaller.Platform OSX
public final String bundleFileName
public static JDKInstaller.Platform[] values()
for (JDKInstaller.Platform c : JDKInstaller.Platform.values()) System.out.println(c);
public static JDKInstaller.Platform 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 boolean is(String line)
public static JDKInstaller.Platform of(Node n) throws IOException, InterruptedException, hudson.tools.JDKInstaller.DetectionFailedException
IOException
InterruptedException
hudson.tools.JDKInstaller.DetectionFailedException
public static JDKInstaller.Platform current() throws hudson.tools.JDKInstaller.DetectionFailedException
hudson.tools.JDKInstaller.DetectionFailedException
Copyright © 2015. All rights reserved.