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, setUserIdcanTake, canTake, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, toComputergetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorpublic static final int MAX_DELETE_ATTEMPTS
public ElasticBoxSlave(ProjectSlaveConfiguration config, boolean singleUse) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormExceptionIOExceptionpublic ElasticBoxSlave(SlaveConfiguration config, ElasticBoxCloud cloud) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormExceptionIOExceptionpublic ElasticBoxSlave(AbstractSlaveConfiguration config, ElasticBoxCloud cloud, hudson.slaves.RetentionStrategy retentionStrategy, boolean singleUse) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormExceptionIOExceptionprotected Object readResolve()
readResolve in class hudson.model.Slavepublic hudson.model.Computer createComputer()
createComputer in class hudson.model.Slavepublic void setInstanceUrl(String instanceUrl)
public String getInstanceUrl()
public String getInstancePageUrl() throws IOException
IOExceptionpublic String getInstanceId()
public boolean isSingleUse()
public void setDeletable(boolean deletable)
public boolean isDeletable()
public boolean maxDeleteAttemptsReached()
public ElasticBoxCloud getCloud() throws IOException
IOExceptionpublic 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
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic boolean isTerminated()
throws IOException
IOExceptionpublic net.sf.json.JSONObject getInstance()
throws IOException
IOExceptionpublic net.sf.json.JSONObject getProfile()
throws IOException
IOExceptionpublic String getInstanceState() throws IOException
IOExceptionpublic void save()
save in interface hudson.model.Saveablesave in class hudson.model.Nodepublic boolean isRemovableFromCloud()
public void setRemovableFromCloud(boolean removableFromCloud)
public String toString()
toString in class hudson.model.SlaveCopyright © 2016–2019. All rights reserved.