public static enum AdoptOpenJDKInstaller.Platform extends Enum<AdoptOpenJDKInstaller.Platform>
Modifier and Type | Method and Description |
---|---|
static AdoptOpenJDKInstaller.Platform |
current() |
String |
getId() |
static AdoptOpenJDKInstaller.Platform |
of(Node n) |
static AdoptOpenJDKInstaller.Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdoptOpenJDKInstaller.Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdoptOpenJDKInstaller.Platform LINUX
public static final AdoptOpenJDKInstaller.Platform WINDOWS
public static final AdoptOpenJDKInstaller.Platform MACOS
public static final AdoptOpenJDKInstaller.Platform SOLARIS
public static final AdoptOpenJDKInstaller.Platform AIX
public static AdoptOpenJDKInstaller.Platform[] values()
for (AdoptOpenJDKInstaller.Platform c : AdoptOpenJDKInstaller.Platform.values()) System.out.println(c);
public static AdoptOpenJDKInstaller.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 static AdoptOpenJDKInstaller.Platform of(Node n) throws IOException, InterruptedException, io.jenkins.plugins.adoptopenjdk.AdoptOpenJDKInstaller.DetectionFailedException
IOException
InterruptedException
io.jenkins.plugins.adoptopenjdk.AdoptOpenJDKInstaller.DetectionFailedException
public static AdoptOpenJDKInstaller.Platform current() throws io.jenkins.plugins.adoptopenjdk.AdoptOpenJDKInstaller.DetectionFailedException
io.jenkins.plugins.adoptopenjdk.AdoptOpenJDKInstaller.DetectionFailedException
public String getId()
Copyright © 2016–2022. All rights reserved.