Package com.veertu.plugin.anka
Class AbstractSlaveTemplate
java.lang.Object
com.veertu.plugin.anka.AbstractSlaveTemplate
- Direct Known Subclasses:
AnkaCloudSlaveTemplate
,DynamicSlaveProperties
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected static final int
protected List
<AnkaCloudSlaveTemplate.EnvironmentEntry> protected String
protected String
static final com.cloudbees.plugins.credentials.domains.SchemeRequirement
static final com.cloudbees.plugins.credentials.domains.SchemeRequirement
protected int
protected int
protected String
protected String
protected String
protected boolean
protected String
protected int
protected String
protected String
protected Node.Mode
protected String
protected int
protected int
protected String
protected RetentionStrategy
protected SaveImageParameters
protected int
protected String
protected String
protected int
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getGroup()
int
int
boolean
getLabel()
int
getMode()
List
<? extends NodeProperty<?>> int
int
int
getTag()
int
getVcpu()
int
getVram()
boolean
boolean
boolean
void
setCloudName
(String cloudName) void
setCredentialsId
(String credentialsId) void
setDeleteLatest
(Boolean deleteLatest) void
setDescription
(String description) void
setDontAppendTimestamp
(Boolean dontAppendTimestamp) void
setEnvironments
(List<AnkaCloudSlaveTemplate.EnvironmentEntry> environments) void
setExtraArgs
(String extraArgs) void
void
setIdleMinutes
(int idleMinutes) void
setInstanceCapacity
(int instanceCapacity) void
setJavaArgs
(String javaArgs) void
setJnlpJenkinsOverrideUrl
(String jnlpJenkinsOverrideUrl) void
setJnlpTunnel
(String jnlpTunnel) void
setKeepAliveOnError
(boolean keepAliveOnError) void
void
setLabelString
(String labelString) Deprecated.void
setLaunchDelay
(int launchDelay) void
setLaunchMethod
(String launchMethod) void
setMasterVmId
(String masterVmId) void
void
setNameTemplate
(String nameTemplate) void
setNumberOfExecutors
(int numberOfExecutors) void
setPriority
(int priority) protected void
void
setPushTag
(String tag) void
setRemoteFS
(String remoteFS) void
setRetentionStrategy
(RetentionStrategy retentionStrategy) void
setSaveImage
(Boolean saveImage) void
setSSHPort
(int SSHPort) void
setSuspend
(Boolean suspend) void
void
setTemplateDescription
(String templateDescription) void
setTemplateId
(String templateId) void
setVcpu
(int vcpu) void
setVram
(int vram) void
protected String
-
Field Details
-
HTTP_SCHEME
public static final com.cloudbees.plugins.credentials.domains.SchemeRequirement HTTP_SCHEME -
HTTPS_SCHEME
public static final com.cloudbees.plugins.credentials.domains.SchemeRequirement HTTPS_SCHEME -
DEFAULT_SCHEDULING_TIMEOUT
protected static final int DEFAULT_SCHEDULING_TIMEOUT- See Also:
-
masterVmId
-
tag
-
launchDelay
protected int launchDelay -
remoteFS
-
labelString
-
templateDescription
-
numberOfExecutors
protected int numberOfExecutors -
mode
-
credentialsId
-
group
-
extraArgs
-
launchMethod
-
keepAliveOnError
protected boolean keepAliveOnError -
SSHPort
protected int SSHPort -
environments
-
retentionStrategy
-
nameTemplate
-
javaArgs
-
jnlpJenkinsOverrideUrl
-
jnlpTunnel
-
priority
protected int priority -
vcpu
protected int vcpu -
vram
protected int vram -
saveImageParameters
-
cloudName
-
instanceCapacity
protected int instanceCapacity -
idleMinutes
protected int idleMinutes
-
-
Constructor Details
-
AbstractSlaveTemplate
public AbstractSlaveTemplate()
-
-
Method Details
-
getIdleMinutes
public int getIdleMinutes() -
setIdleMinutes
@DataBoundSetter public void setIdleMinutes(int idleMinutes) -
getInstanceCapacity
public int getInstanceCapacity() -
setInstanceCapacity
@DataBoundSetter public void setInstanceCapacity(int instanceCapacity) -
getCloudName
-
setCloudName
-
getDisplayName
-
getMasterVmId
-
setMasterVmId
-
getTag
-
setTag
-
getLaunchDelay
public int getLaunchDelay() -
setLaunchDelay
@DataBoundSetter public void setLaunchDelay(int launchDelay) -
getRemoteFS
-
setRemoteFS
-
getLabel
-
getLabelString
-
setLabel
-
setLabelString
Deprecated. -
getTemplateDescription
-
setTemplateDescription
-
getNumberOfExecutors
public int getNumberOfExecutors() -
setNumberOfExecutors
@DataBoundSetter public void setNumberOfExecutors(int numberOfExecutors) -
getMode
-
setMode
-
getCredentialsId
-
setCredentialsId
-
getGroup
-
setGroup
-
getExtraArgs
-
setExtraArgs
-
getLaunchMethod
-
setLaunchMethod
-
isKeepAliveOnError
public boolean isKeepAliveOnError() -
getKeepAliveOnError
public boolean getKeepAliveOnError() -
setKeepAliveOnError
@DataBoundSetter public void setKeepAliveOnError(boolean keepAliveOnError) -
getSSHPort
public int getSSHPort() -
setSSHPort
@DataBoundSetter public void setSSHPort(int SSHPort) -
getEnvironments
-
setEnvironments
@DataBoundSetter public void setEnvironments(List<AnkaCloudSlaveTemplate.EnvironmentEntry> environments) -
getRetentionStrategy
-
setRetentionStrategy
-
getNameTemplate
-
setNameTemplate
-
getJavaArgs
-
setJavaArgs
-
getJnlpJenkinsOverrideUrl
-
setJnlpJenkinsOverrideUrl
-
getJnlpTunnel
-
setJnlpTunnel
-
getPriority
public int getPriority() -
setPriority
@DataBoundSetter public void setPriority(int priority) -
getVcpu
public int getVcpu() -
setVcpu
@DataBoundSetter public void setVcpu(int vcpu) -
getVram
public int getVram() -
setVram
@DataBoundSetter public void setVram(int vram) -
valOrNull
-
getSaveImageParameters
-
getSuspend
-
setSuspend
-
getTemplateId
-
setTemplateId
-
getSaveImage
-
setSaveImage
-
getPushTag
-
setPushTag
-
isAppendTimestamp
public boolean isAppendTimestamp() -
getDontAppendTimestamp
public boolean getDontAppendTimestamp() -
setDontAppendTimestamp
-
isDeleteLatest
public boolean isDeleteLatest() -
setDeleteLatest
-
getDescription
-
setDescription
-
getWaitForBuildToFinish
-
setWaitForBuildToFinish
-
getNodeProperties
-
setProperties
-