public static enum JCloudsCloud.SlaveType extends Enum<JCloudsCloud.SlaveType>
Modifier and Type | Method and Description |
---|---|
abstract hudson.slaves.ComputerLauncher |
createLauncher(JCloudsSlave slave)
Create launcher to be used to start the computer.
|
abstract boolean |
isReady(JCloudsSlave slave)
Detect the machine is provisioned and can be added to Jenkins for launching.
|
static JCloudsCloud.SlaveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCloudsCloud.SlaveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCloudsCloud.SlaveType SSH
public static final JCloudsCloud.SlaveType JNLP
public static JCloudsCloud.SlaveType[] values()
for (JCloudsCloud.SlaveType c : JCloudsCloud.SlaveType.values()) System.out.println(c);
public static JCloudsCloud.SlaveType 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 abstract hudson.slaves.ComputerLauncher createLauncher(@Nonnull JCloudsSlave slave) throws IOException
IOException
public abstract boolean isReady(@Nonnull JCloudsSlave slave)
Copyright © 2016–2017. All rights reserved.