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
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interfaceInterface to be implemented by configurable entity that contains options for provisioned slave. -
Constructor Summary
ConstructorsConstructorDescriptionSlaveOptions(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.Builderbuilder()Get empty builder.static SlaveOptionsempty()booleaneraseDefaults(SlaveOptions defaults) Derive new options from current leavingnullwhere same as default.Get builder to create modified version of current instance.List<NodeProperty<?>>inthashCode()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 leavingnullwhere 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:
getDescriptorin interfaceDescribable<SlaveOptions>
-