public static enum NodeJSInstaller.Platform extends Enum<NodeJSInstaller.Platform>
| Modifier and Type | Field and Description |
|---|---|
String |
bundleFileName
Choose the file name suitable for the downloaded Node bundle.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeJSInstaller.Platform |
current() |
boolean |
is(String line) |
static NodeJSInstaller.Platform |
of(hudson.model.Node n)
Determines the platform of the given node.
|
static NodeJSInstaller.Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeJSInstaller.Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeJSInstaller.Platform LINUX
public static final NodeJSInstaller.Platform WINDOWS
public static final NodeJSInstaller.Platform MAC
public final String bundleFileName
public static NodeJSInstaller.Platform[] values()
for (NodeJSInstaller.Platform c : NodeJSInstaller.Platform.values()) System.out.println(c);
public static NodeJSInstaller.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 NodeJSInstaller.Platform of(hudson.model.Node n) throws IOException, InterruptedException, jenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedException
IOExceptionInterruptedExceptionjenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedExceptionpublic static NodeJSInstaller.Platform current() throws jenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedException
jenkins.plugins.nodejs.tools.NodeJSInstaller.DetectionFailedExceptionCopyright © 2004-2016. All Rights Reserved.