public class SpotinstSlave
extends hudson.model.Slave
hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor| Modifier and Type | Field and Description |
|---|---|
protected int |
launchTimeout |
| Constructor and Description |
|---|
SpotinstSlave(String name,
String elastigroupId,
String instanceId,
String instanceType,
String label,
String idleTerminationMinutes,
int launchTimeout) |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.Computer |
createComputer() |
static int |
executorsForInstanceType(InstanceType instanceType) |
String |
getElastigroupId() |
String |
getInstanceId() |
String |
getInstanceType() |
hudson.model.Node |
reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form) |
void |
setInstanceId(String instanceId) |
void |
terminate() |
createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeName, setRetentionStrategy, setUserId, toStringcanTake, canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isAcceptingTasks, isHoldOffLaunchUntilSave, toComputerpublic SpotinstSlave(String name, String elastigroupId, String instanceId, String instanceType, String label, String idleTerminationMinutes, int launchTimeout) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormExceptionIOExceptionpublic String getInstanceId()
public void setInstanceId(String instanceId)
public String getInstanceType()
public String getElastigroupId()
public void terminate()
public static int executorsForInstanceType(InstanceType instanceType)
public hudson.model.Computer createComputer()
createComputer in class hudson.model.Slavepublic hudson.model.Node reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form)
throws hudson.model.Descriptor.FormException
reconfigure in interface hudson.model.ReconfigurableDescribable<hudson.model.Node>reconfigure in class hudson.model.Nodehudson.model.Descriptor.FormExceptionCopyright © 2016. All rights reserved.