public class ElasticBoxSlave
extends hudson.model.Slave
Modifier and Type | Class and Description |
---|---|
static class |
ElasticBoxSlave.ConverterImpl |
static class |
ElasticBoxSlave.DescriptorImpl |
hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor
Modifier and Type | Field and Description |
---|---|
static int |
MAX_DELETE_ATTEMPTS |
Constructor and Description |
---|
ElasticBoxSlave(AbstractSlaveConfiguration config,
ElasticBoxCloud cloud,
hudson.slaves.RetentionStrategy retentionStrategy,
boolean singleUse) |
ElasticBoxSlave(ProjectSlaveConfiguration config,
boolean singleUse) |
ElasticBoxSlave(SlaveConfiguration config,
ElasticBoxCloud cloud) |
createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId
canTake, canTake, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, toComputer
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public static final int MAX_DELETE_ATTEMPTS
public ElasticBoxSlave(ProjectSlaveConfiguration config, boolean singleUse) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormException
IOException
public ElasticBoxSlave(SlaveConfiguration config, ElasticBoxCloud cloud) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormException
IOException
public ElasticBoxSlave(AbstractSlaveConfiguration config, ElasticBoxCloud cloud, hudson.slaves.RetentionStrategy retentionStrategy, boolean singleUse) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormException
IOException
protected Object readResolve()
readResolve
in class hudson.model.Slave
public hudson.model.Computer createComputer()
createComputer
in class hudson.model.Slave
public void setInstanceUrl(String instanceUrl)
public String getInstanceUrl()
public String getInstancePageUrl() throws IOException
IOException
public String getInstanceId()
public boolean isSingleUse()
public void setDeletable(boolean deletable)
public boolean isDeletable()
public boolean maxDeleteAttemptsReached()
public ElasticBoxCloud getCloud() throws IOException
IOException
public AbstractSlaveConfiguration getSlaveConfiguration()
public net.sf.json.JSONArray getPolicyVariables()
public void setInstanceStatusMessage(String message)
public String getInstanceStatusMessage()
public String getType()
public String getProfileId()
public void setProfileId(String profileId)
public int getLaunchTimeout()
public int getRetentionTime()
public String getBoxVersion()
public void terminate() throws IOException
IOException
public void delete() throws IOException
IOException
public boolean isTerminated() throws IOException
IOException
public net.sf.json.JSONObject getInstance() throws IOException
IOException
public net.sf.json.JSONObject getProfile() throws IOException
IOException
public String getInstanceState() throws IOException
IOException
public void save()
save
in interface hudson.model.Saveable
save
in class hudson.model.Node
public boolean isRemovableFromCloud()
public void setRemovableFromCloud(boolean removableFromCloud)
public String toString()
toString
in class hudson.model.Slave
Copyright © 2016–2019. All rights reserved.