public static enum JDKInstaller.CPU extends Enum<JDKInstaller.CPU>
Modifier and Type | Method and Description |
---|---|
JDKInstaller.Preference |
accept(String line)
In JDK5u3, I see platform like "Linux AMD64", while JDK6u3 refers to "Linux x64", so
just use "64" for locating bits.
|
static JDKInstaller.CPU |
current()
Determines the CPU of the current JVM.
|
static JDKInstaller.CPU |
of(Node n)
Determines the CPU of the given node.
|
static JDKInstaller.CPU |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JDKInstaller.CPU[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JDKInstaller.CPU i386
public static final JDKInstaller.CPU amd64
public static final JDKInstaller.CPU Sparc
public static final JDKInstaller.CPU Itanium
public static JDKInstaller.CPU[] values()
for (JDKInstaller.CPU c : JDKInstaller.CPU.values()) System.out.println(c);
public static JDKInstaller.CPU 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 JDKInstaller.Preference accept(String line)
public static JDKInstaller.CPU of(Node n) throws IOException, InterruptedException, hudson.tools.JDKInstaller.DetectionFailedException
IOException
InterruptedException
hudson.tools.JDKInstaller.DetectionFailedException
public static JDKInstaller.CPU current() throws hudson.tools.JDKInstaller.DetectionFailedException
hudson.tools.JDKInstaller.DetectionFailedException
Copyright © 2015. All rights reserved.