|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JDKInstaller.CPU>
hudson.tools.JDKInstaller.CPU
public static enum JDKInstaller.CPU
CPU type.
Enum Constant Summary | |
---|---|
amd64
|
|
i386
|
|
Itanium
|
|
Sparc
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JDKInstaller.CPU i386
public static final JDKInstaller.CPU amd64
public static final JDKInstaller.CPU Sparc
public static final JDKInstaller.CPU Itanium
Method Detail |
---|
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 name
NullPointerException
- 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |