Class SlaveOptions
java.lang.Object
jenkins.plugins.openstack.compute.SlaveOptions
- All Implemented Interfaces:
Describable<SlaveOptions>
,Serializable
Configured options for a slave to create.
This object can be scoped to cloud or template (or perhaps some other things). Whenever details are needed to provision/connect
particular slave, the most specific SlaveOptions object should be used.
- Author:
- ogondza.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static interface
Interface to be implemented by configurable entity that contains options for provisioned slave. -
Constructor Summary
ConstructorDescriptionSlaveOptions
(BootSource bootSource, String hardwareId, String networkId, String userDataId, Integer instanceCap, Integer instancesMin, String floatingIpPool, String securityGroups, String availabilityZone, Integer startTimeout, String keyPairName, Integer numExecutors, String jvmOptions, String fsRoot, LauncherFactory launcherFactory, List<? extends NodeProperty<?>> nodeProperties, Integer retentionTime, Boolean configDrive) -
Method Summary
Modifier and TypeMethodDescriptionstatic SlaveOptions.Builder
builder()
Get empty builder.static SlaveOptions
empty()
boolean
eraseDefaults
(SlaveOptions defaults) Derive new options from current leavingnull
where same as default.Get builder to create modified version of current instance.List<NodeProperty<?>>
int
hashCode()
Derive SlaveOptions taking this instance as baseline and overriding with argument.toString()
-
Constructor Details
-
SlaveOptions
-
SlaveOptions
@DataBoundConstructor @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public SlaveOptions(@CheckForNull BootSource bootSource, String hardwareId, String networkId, String userDataId, Integer instanceCap, Integer instancesMin, String floatingIpPool, String securityGroups, String availabilityZone, Integer startTimeout, String keyPairName, Integer numExecutors, String jvmOptions, String fsRoot, LauncherFactory launcherFactory, @CheckForNull List<? extends NodeProperty<?>> nodeProperties, Integer retentionTime, @CheckForNull Boolean configDrive)
-
-
Method Details
-
getFsRoot
-
getBootSource
-
getHardwareId
-
getNetworkId
-
getUserDataId
-
getInstanceCap
-
getInstancesMin
-
getFloatingIpPool
-
getSecurityGroups
-
getAvailabilityZone
-
getStartTimeout
-
getKeyPairName
-
getNumExecutors
-
getJvmOptions
-
getLauncherFactory
-
getNodeProperties
-
getRetentionTime
-
getConfigDrive
-
override
Derive SlaveOptions taking this instance as baseline and overriding with argument. -
eraseDefaults
Derive new options from current leavingnull
where same as default. -
toString
-
equals
-
hashCode
public int hashCode() -
getBuilder
Get builder to create modified version of current instance. -
empty
-
builder
Get empty builder. -
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<SlaveOptions>
-