public class DockerSlaveConfig extends hudson.model.AbstractDescribableImpl<DockerSlaveConfig>
DockerCloud
Modifier and Type | Class and Description |
---|---|
static class |
DockerSlaveConfig.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
protected DockerContainerLifecycle |
dockerContainerLifecycle
Bundle class that contains all docker related actions/configs
|
protected String |
id
Unique id of this template configuration.
|
protected hudson.slaves.ComputerLauncher |
launcher |
protected hudson.model.Node.Mode |
mode |
protected List<hudson.slaves.NodeProperty<?>> |
nodeProperties |
protected int |
numExecutors |
protected hudson.slaves.RetentionStrategy |
retentionStrategy |
Constructor and Description |
---|
DockerSlaveConfig() |
DockerSlaveConfig(String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
DockerContainerLifecycle |
getDockerContainerLifecycle() |
String |
getId()
Id used for counting running slaves
|
String |
getLabelString() |
hudson.slaves.ComputerLauncher |
getLauncher() |
hudson.model.Node.Mode |
getMode() |
List<hudson.slaves.NodeProperty<?>> |
getNodeProperties() |
int |
getNumExecutors() |
String |
getRemoteFs() |
hudson.slaves.RetentionStrategy |
getRetentionStrategy() |
int |
hashCode() |
void |
setDockerContainerLifecycle(DockerContainerLifecycle dockerContainerLifecycle) |
void |
setLabelString(String labelString) |
void |
setLauncher(hudson.slaves.ComputerLauncher launcher) |
void |
setMode(hudson.model.Node.Mode mode) |
void |
setNodeProperties(List<hudson.slaves.NodeProperty<?>> nodeProperties) |
void |
setNumExecutors(int numExecutors)
Experimental option allows set number of executors
|
void |
setRemoteFs(String remoteFs) |
void |
setRetentionStrategy(hudson.slaves.RetentionStrategy retentionStrategy) |
@Nonnull protected final String id
protected hudson.slaves.ComputerLauncher launcher
protected hudson.model.Node.Mode mode
protected hudson.slaves.RetentionStrategy retentionStrategy
protected int numExecutors
protected DockerContainerLifecycle dockerContainerLifecycle
protected List<hudson.slaves.NodeProperty<?>> nodeProperties
public DockerContainerLifecycle getDockerContainerLifecycle()
@DataBoundSetter public void setDockerContainerLifecycle(DockerContainerLifecycle dockerContainerLifecycle)
public String getLabelString()
@DataBoundSetter public void setLabelString(String labelString)
@DataBoundSetter public void setMode(hudson.model.Node.Mode mode)
public hudson.model.Node.Mode getMode()
@DataBoundSetter public void setNumExecutors(int numExecutors)
public int getNumExecutors()
@DataBoundSetter public void setRetentionStrategy(hudson.slaves.RetentionStrategy retentionStrategy)
public hudson.slaves.RetentionStrategy getRetentionStrategy()
@DataBoundSetter public void setLauncher(hudson.slaves.ComputerLauncher launcher)
public hudson.slaves.ComputerLauncher getLauncher()
@DataBoundSetter public void setRemoteFs(String remoteFs)
public void setNodeProperties(List<hudson.slaves.NodeProperty<?>> nodeProperties)
Copyright © 2016–2020. All rights reserved.