public class ECSOndemandSlave extends ECSAbstractSlave
Modifier and Type | Class and Description |
---|---|
static class |
ECSOndemandSlave.DescriptorImpl |
Slave.JnlpJar, Slave.SlaveDescriptor
Node.InternalComputerListener, Node.Mode
ExtensionPoint.LegacyInstancesAreScopedToHudson
cloudName, idleTerminationMinutes, initScript, isConnected, lastFetchInstance, lastFetchTime, launchTimeout, MIN_FETCH_TIME, remoteAdmin, slaveCommandPrefix, slaveCommandSuffix, stopOnTerminate, tags, templateDescription, terminateScheduled, tmpDir
holdOffLaunchUntilSave, SKIP_BUILD_CHECK_ON_FLYWEIGHTS
Constructor and Description |
---|
ECSOndemandSlave(String name,
String instanceId,
String templateDescription,
int numExecutors,
String labelString,
Node.Mode mode,
String remoteFS,
List<? extends NodeProperty<?>> nodeProperties,
String remoteAdmin,
String idleTerminationMinutes,
List<ECSTag> tags,
String cloudName,
int launchTimeout,
String initScript,
String tmpDir,
boolean stopOnTerminate) |
Modifier and Type | Method and Description |
---|---|
String |
getECSType() |
Node |
reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form) |
void |
terminate()
Terminates the instance in ECS.
|
clearLiveInstanceData, createComputer, fetchLiveInstanceData, getAdminPassword, getBootDelay, getCloud, getCreatedTime, getInstanceId, getLaunchTimeoutInMillis, getRemoteAdmin, getSshPort, getStopOnTerminate, getTags, isAcceptingTasks, isAlive, isAllowSelfSignedCertificate, isSpecifyPassword, isUseHTTPS, onConnected, pushLiveInstanceData, readResolve
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, toString
canTake, canTake, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, isHoldOffLaunchUntilSave, save, toComputer
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
@DataBoundConstructor public ECSOndemandSlave(String name, String instanceId, String templateDescription, int numExecutors, String labelString, Node.Mode mode, String remoteFS, List<? extends NodeProperty<?>> nodeProperties, String remoteAdmin, String idleTerminationMinutes, List<ECSTag> tags, String cloudName, int launchTimeout, String initScript, String tmpDir, boolean stopOnTerminate) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
public void terminate()
ECSAbstractSlave
terminate
in class ECSAbstractSlave
public Node reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) throws Descriptor.FormException
reconfigure
in interface ReconfigurableDescribable<Node>
reconfigure
in class ECSAbstractSlave
Descriptor.FormException
public String getECSType()
getECSType
in class ECSAbstractSlave
Copyright © 2016–2021. All rights reserved.