public class NomadSlaveTemplate extends Object implements hudson.model.Describable<NomadSlaveTemplate>
| Modifier and Type | Class and Description |
|---|---|
static class |
NomadSlaveTemplate.DescriptorImpl |
| Constructor and Description |
|---|
NomadSlaveTemplate(String cpu,
String memory,
String disk,
String labels,
List<? extends NomadConstraintTemplate> constraints,
String remoteFs,
String idleTerminationInMinutes,
Boolean reusable,
String numExecutors,
hudson.model.Node.Mode mode,
String region,
String priority,
String image,
String datacenters,
String username,
String password,
Boolean privileged,
String network,
String prefixCmd,
Boolean forcePull,
String hostVolumes,
String switchUser) |
| Modifier and Type | Method and Description |
|---|---|
String |
createSlaveName() |
NomadCloud |
getCloud() |
List<NomadConstraintTemplate> |
getConstraints() |
int |
getCpu() |
String |
getDatacenters() |
hudson.model.Descriptor<NomadSlaveTemplate> |
getDescriptor() |
int |
getDisk() |
String |
getDriver() |
Boolean |
getForcePull() |
String |
getHostVolumes() |
int |
getIdleTerminationInMinutes() |
String |
getImage() |
String |
getLabels() |
Set<hudson.model.labels.LabelAtom> |
getLabelSet() |
int |
getMemory() |
hudson.model.Node.Mode |
getMode() |
String |
getNetwork() |
int |
getNumExecutors() |
String |
getPassword() |
String |
getPrefixCmd() |
int |
getPriority() |
Boolean |
getPrivileged() |
String |
getRegion() |
String |
getRemoteFs() |
Boolean |
getReusable() |
String |
getSwitchUser() |
String |
getUsername() |
protected Object |
readResolve() |
void |
setCloud(NomadCloud cloud) |
@DataBoundConstructor public NomadSlaveTemplate(String cpu, String memory, String disk, String labels, List<? extends NomadConstraintTemplate> constraints, String remoteFs, String idleTerminationInMinutes, Boolean reusable, String numExecutors, hudson.model.Node.Mode mode, String region, String priority, String image, String datacenters, String username, String password, Boolean privileged, String network, String prefixCmd, Boolean forcePull, String hostVolumes, String switchUser)
protected Object readResolve()
public hudson.model.Descriptor<NomadSlaveTemplate> getDescriptor()
getDescriptor in interface hudson.model.Describable<NomadSlaveTemplate>public String createSlaveName()
public Set<hudson.model.labels.LabelAtom> getLabelSet()
public int getNumExecutors()
public hudson.model.Node.Mode getMode()
public int getCpu()
public int getMemory()
public String getLabels()
public List<NomadConstraintTemplate> getConstraints()
public int getIdleTerminationInMinutes()
public Boolean getReusable()
public String getRegion()
public String getDatacenters()
public int getPriority()
public int getDisk()
public void setCloud(NomadCloud cloud)
public NomadCloud getCloud()
public String getRemoteFs()
public String getImage()
public String getUsername()
public String getPassword()
public String getPrefixCmd()
public String getDriver()
public Boolean getPrivileged()
public String getNetwork()
public Boolean getForcePull()
public String getHostVolumes()
public String getSwitchUser()
Copyright © 2016–2019. All rights reserved.