|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NodeJSInstaller.CPU>
jenkins.plugins.nodejs.tools.NodeJSInstaller.CPU
public static enum NodeJSInstaller.CPU
CPU type.
| Enum Constant Summary | |
|---|---|
amd64
|
|
i386
|
|
| Method Summary | |
|---|---|
NodeJSInstaller.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 NodeJSInstaller.CPU |
current()
Determines the CPU of the current JVM. |
static NodeJSInstaller.CPU |
of(hudson.model.Node n)
Determines the CPU of the given node. |
static NodeJSInstaller.CPU |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NodeJSInstaller.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 NodeJSInstaller.CPU i386
public static final NodeJSInstaller.CPU amd64
| Method Detail |
|---|
public static NodeJSInstaller.CPU[] values()
for (NodeJSInstaller.CPU c : NodeJSInstaller.CPU.values()) System.out.println(c);
public static NodeJSInstaller.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 NodeJSInstaller.Preference accept(String line)
public static NodeJSInstaller.CPU of(hudson.model.Node n)
throws IOException,
InterruptedException,
jenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedException
IOException
InterruptedException
jenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedException
public static NodeJSInstaller.CPU current()
throws jenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedException
jenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||