public class SlaveOptions extends Object implements hudson.model.Describable<SlaveOptions>
Modifier and Type | Class and Description |
---|---|
static class |
SlaveOptions.Builder |
static interface |
SlaveOptions.Holder
Interface to be implemented by configurable entity that contians options for provisioned slave.
|
Constructor and Description |
---|
SlaveOptions(SlaveOptions.Builder b) |
SlaveOptions(String imageId,
String hardwareId,
String networkId,
String userDataId,
Integer instanceCap,
String floatingIpPool,
String securityGroups,
String availabilityZone,
Integer startTimeout,
String keyPairName,
Integer numExecutors,
String jvmOptions,
String fsRoot,
String credentialsId,
JCloudsCloud.SlaveType slaveType,
Integer retentionTime) |
Modifier and Type | Method and Description |
---|---|
static SlaveOptions.Builder |
builder() |
static SlaveOptions |
empty() |
boolean |
equals(Object o) |
SlaveOptions |
eraseDefaults(SlaveOptions defaults)
Derive new options from current leaving null where same as default.
|
String |
getAvailabilityZone() |
SlaveOptions.Builder |
getBuilder()
Get builder to create modified version of current instance.
|
String |
getCredentialsId() |
SlaveOptionsDescriptor |
getDescriptor() |
String |
getFloatingIpPool() |
String |
getFsRoot() |
String |
getHardwareId() |
String |
getImageId() |
Integer |
getInstanceCap() |
String |
getJvmOptions() |
String |
getKeyPairName() |
String |
getNetworkId() |
Integer |
getNumExecutors() |
Integer |
getRetentionTime() |
String |
getSecurityGroups() |
JCloudsCloud.SlaveType |
getSlaveType() |
Integer |
getStartTimeout() |
String |
getUserDataId() |
int |
hashCode() |
SlaveOptions |
override(SlaveOptions o)
Derive SlaveOptions taking this instance as baseline and overriding with argument.
|
String |
toString() |
public SlaveOptions(SlaveOptions.Builder b)
@DataBoundConstructor @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public SlaveOptions(String imageId, String hardwareId, String networkId, String userDataId, Integer instanceCap, String floatingIpPool, String securityGroups, String availabilityZone, Integer startTimeout, String keyPairName, Integer numExecutors, String jvmOptions, String fsRoot, String credentialsId, JCloudsCloud.SlaveType slaveType, Integer retentionTime)
@CheckForNull public String getFsRoot()
@CheckForNull public String getImageId()
@CheckForNull public String getHardwareId()
@CheckForNull public String getNetworkId()
@CheckForNull public String getUserDataId()
@CheckForNull public Integer getInstanceCap()
@CheckForNull public String getFloatingIpPool()
@CheckForNull public String getSecurityGroups()
@CheckForNull public String getAvailabilityZone()
@CheckForNull public Integer getStartTimeout()
@CheckForNull public String getKeyPairName()
@CheckForNull public Integer getNumExecutors()
@CheckForNull public String getJvmOptions()
@CheckForNull public String getCredentialsId()
@CheckForNull public JCloudsCloud.SlaveType getSlaveType()
@CheckForNull public Integer getRetentionTime()
@Nonnull public SlaveOptions override(@Nonnull SlaveOptions o)
@Nonnull public SlaveOptions eraseDefaults(@Nonnull SlaveOptions defaults)
public SlaveOptions.Builder getBuilder()
@Nonnull public static SlaveOptions empty()
@Nonnull public static SlaveOptions.Builder builder()
public SlaveOptionsDescriptor getDescriptor()
getDescriptor
in interface hudson.model.Describable<SlaveOptions>
Copyright © 2004-2016. All Rights Reserved.