public class DockerSlaveTemplate extends DockerSlaveConfig
Modifier and Type | Class and Description |
---|---|
static class |
DockerSlaveTemplate.DescriptorImpl |
dockerContainerLifecycle, id, launcher, mode, nodeProperties, numExecutors, retentionStrategy
Constructor and Description |
---|
DockerSlaveTemplate()
Generates new unique ID for new instances.
|
DockerSlaveTemplate(String id)
Custom specified ID.
|
DockerSlaveTemplate(String id,
List<hudson.slaves.NodeProperty<?>> nodeProperties)
FIXME DescribableList doesn't work with DBS https://gist.github.com/KostyaSha/3414f4f453ea7c7406b4
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
DockerSlaveTemplate.DescriptorImpl |
getDescriptor() |
Set<hudson.model.labels.LabelAtom> |
getLabelSet() |
DockerComputerLauncher |
getLauncher() |
int |
getMaxCapacity() |
int |
getNumExecutors() |
OsType |
getOsType() |
hudson.slaves.RetentionStrategy |
getRetentionStrategyCopy()
tmp fix for terminating boolean caching
|
String |
getShortDescription() |
int |
hashCode() |
Object |
readResolve()
Initializes data structure that we don't persist.
|
void |
setLabelString(String labelString) |
void |
setMaxCapacity(int maxCapacity) |
void |
setOsType(OsType osType) |
String |
toString() |
getDockerContainerLifecycle, getId, getLabelString, getMode, getNodeProperties, getRemoteFs, getRetentionStrategy, setDockerContainerLifecycle, setLauncher, setMode, setNodeProperties, setNumExecutors, setRemoteFs, setRetentionStrategy
public DockerSlaveTemplate()
public DockerSlaveTemplate(@Nonnull String id) throws hudson.model.Descriptor.FormException
hudson.model.Descriptor.FormException
@DataBoundConstructor public DockerSlaveTemplate(@Nonnull String id, List<hudson.slaves.NodeProperty<?>> nodeProperties) throws hudson.model.Descriptor.FormException
hudson.model.Descriptor.FormException
@DataBoundSetter public void setLabelString(String labelString)
setLabelString
in class DockerSlaveConfig
public OsType getOsType()
public void setOsType(OsType osType)
public int getNumExecutors()
getNumExecutors
in class DockerSlaveConfig
public hudson.slaves.RetentionStrategy getRetentionStrategyCopy()
public int getMaxCapacity()
@DataBoundSetter public void setMaxCapacity(int maxCapacity)
public DockerComputerLauncher getLauncher()
getLauncher
in class DockerSlaveConfig
public Object readResolve()
public boolean equals(Object o)
equals
in class DockerSlaveConfig
public int hashCode()
hashCode
in class DockerSlaveConfig
public String getShortDescription()
public DockerSlaveTemplate.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<DockerSlaveConfig>
getDescriptor
in class hudson.model.AbstractDescribableImpl<DockerSlaveConfig>
Copyright © 2016–2020. All rights reserved.