public static enum NodeJSInstaller.CPU extends Enum<NodeJSInstaller.CPU>
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final NodeJSInstaller.CPU i386
public static final NodeJSInstaller.CPU amd64
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 nameNullPointerException - 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
IOExceptionInterruptedExceptionjenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedExceptionpublic static NodeJSInstaller.CPU current() throws jenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedException
jenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedExceptionCopyright © 2004-2016. All Rights Reserved.