public class EC2OndemandSlave extends EC2AbstractSlave
Modifier and Type | Class and Description |
---|---|
static class |
EC2OndemandSlave.DescriptorImpl |
Slave.JnlpJar, Slave.SlaveDescriptor
Node.InternalComputerListener, Node.Mode
ExtensionPoint.LegacyInstancesAreScopedToHudson
amiType, cloudName, DEFAULT_METADATA_ENDPOINT_ENABLED, DEFAULT_METADATA_HOPS_LIMIT, DEFAULT_METADATA_TOKENS_REQUIRED, idleTerminationMinutes, initScript, instanceId, isConnected, jvmopts, lastFetchInstance, lastFetchTime, launchTimeout, maxTotalUses, MIN_FETCH_TIME, privateDNS, publicDNS, remoteAdmin, rootCommandPrefix, slaveCommandPrefix, slaveCommandSuffix, sshPort, stopOnTerminate, tags, templateDescription, tenancy, terminateScheduled, TEST_ZONE, tmpDir, useDedicatedTenancy, usePrivateDnsName
holdOffLaunchUntilSave, SKIP_BUILD_CHECK_ON_FLYWEIGHTS
Constructor and Description |
---|
EC2OndemandSlave(String instanceId)
Constructor for debugging.
|
EC2OndemandSlave(String instanceId,
String templateDescription,
String remoteFS,
int numExecutors,
String labelString,
Node.Mode mode,
String initScript,
String tmpDir,
String remoteAdmin,
String jvmopts,
boolean stopOnTerminate,
String idleTerminationMinutes,
String publicDNS,
String privateDNS,
List<EC2Tag> tags,
String cloudName,
boolean usePrivateDnsName,
boolean useDedicatedTenancy,
int launchTimeout,
AMITypeData amiType)
Deprecated.
|
EC2OndemandSlave(String instanceId,
String templateDescription,
String remoteFS,
int numExecutors,
String labelString,
Node.Mode mode,
String initScript,
String tmpDir,
String remoteAdmin,
String jvmopts,
boolean stopOnTerminate,
String idleTerminationMinutes,
String publicDNS,
String privateDNS,
List<EC2Tag> tags,
String cloudName,
boolean useDedicatedTenancy,
int launchTimeout,
AMITypeData amiType)
Deprecated.
|
EC2OndemandSlave(String instanceId,
String templateDescription,
String remoteFS,
int numExecutors,
String labelString,
Node.Mode mode,
String initScript,
String tmpDir,
String remoteAdmin,
String jvmopts,
boolean stopOnTerminate,
String idleTerminationMinutes,
String publicDNS,
String privateDNS,
List<EC2Tag> tags,
String cloudName,
int launchTimeout,
AMITypeData amiType)
Deprecated.
|
EC2OndemandSlave(String name,
String instanceId,
String templateDescription,
String remoteFS,
int numExecutors,
String labelString,
Node.Mode mode,
String initScript,
String tmpDir,
List<? extends NodeProperty<?>> nodeProperties,
String remoteAdmin,
String jvmopts,
boolean stopOnTerminate,
String idleTerminationMinutes,
String publicDNS,
String privateDNS,
List<EC2Tag> tags,
String cloudName,
boolean useDedicatedTenancy,
int launchTimeout,
AMITypeData amiType,
ConnectionStrategy connectionStrategy,
int maxTotalUses)
Deprecated.
|
EC2OndemandSlave(String name,
String instanceId,
String templateDescription,
String remoteFS,
int numExecutors,
String labelString,
Node.Mode mode,
String initScript,
String tmpDir,
List<? extends NodeProperty<?>> nodeProperties,
String remoteAdmin,
String jvmopts,
boolean stopOnTerminate,
String idleTerminationMinutes,
String publicDNS,
String privateDNS,
List<EC2Tag> tags,
String cloudName,
int launchTimeout,
AMITypeData amiType,
ConnectionStrategy connectionStrategy,
int maxTotalUses,
Tenancy tenancy)
Deprecated.
|
EC2OndemandSlave(String name,
String instanceId,
String templateDescription,
String remoteFS,
int numExecutors,
String labelString,
Node.Mode mode,
String initScript,
String tmpDir,
List<? extends NodeProperty<?>> nodeProperties,
String remoteAdmin,
String jvmopts,
boolean stopOnTerminate,
String idleTerminationMinutes,
String publicDNS,
String privateDNS,
List<EC2Tag> tags,
String cloudName,
int launchTimeout,
AMITypeData amiType,
ConnectionStrategy connectionStrategy,
int maxTotalUses,
Tenancy tenancy,
Boolean metadataEndpointEnabled,
Boolean metadataTokensRequired,
Integer metadataHopsLimit) |
Modifier and Type | Method and Description |
---|---|
String |
getEc2Type() |
Node |
reconfigure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject form) |
void |
terminate()
Terminates the instance in EC2.
|
clearLiveInstancedata, createComputer, fillZoneItems, getAdminPassword, getBootDelay, getCloud, getCreatedTime, getInstance, getInstanceId, getInstanceType, getLaunchTimeoutInMillis, getPrivateDNS, getPublicDNS, getRemoteAdmin, getSshPort, getStopOnTerminate, getTags, getUsePrivateDnsName, 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
@Deprecated public EC2OndemandSlave(String instanceId, String templateDescription, String remoteFS, int numExecutors, String labelString, Node.Mode mode, String initScript, String tmpDir, String remoteAdmin, String jvmopts, boolean stopOnTerminate, String idleTerminationMinutes, String publicDNS, String privateDNS, List<EC2Tag> tags, String cloudName, int launchTimeout, AMITypeData amiType) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
@Deprecated public EC2OndemandSlave(String instanceId, String templateDescription, String remoteFS, int numExecutors, String labelString, Node.Mode mode, String initScript, String tmpDir, String remoteAdmin, String jvmopts, boolean stopOnTerminate, String idleTerminationMinutes, String publicDNS, String privateDNS, List<EC2Tag> tags, String cloudName, boolean useDedicatedTenancy, int launchTimeout, AMITypeData amiType) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
@Deprecated public EC2OndemandSlave(String instanceId, String templateDescription, String remoteFS, int numExecutors, String labelString, Node.Mode mode, String initScript, String tmpDir, String remoteAdmin, String jvmopts, boolean stopOnTerminate, String idleTerminationMinutes, String publicDNS, String privateDNS, List<EC2Tag> tags, String cloudName, boolean usePrivateDnsName, boolean useDedicatedTenancy, int launchTimeout, AMITypeData amiType) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
@Deprecated public EC2OndemandSlave(String name, String instanceId, String templateDescription, String remoteFS, int numExecutors, String labelString, Node.Mode mode, String initScript, String tmpDir, List<? extends NodeProperty<?>> nodeProperties, String remoteAdmin, String jvmopts, boolean stopOnTerminate, String idleTerminationMinutes, String publicDNS, String privateDNS, List<EC2Tag> tags, String cloudName, boolean useDedicatedTenancy, int launchTimeout, AMITypeData amiType, ConnectionStrategy connectionStrategy, int maxTotalUses) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
@Deprecated public EC2OndemandSlave(String name, String instanceId, String templateDescription, String remoteFS, int numExecutors, String labelString, Node.Mode mode, String initScript, String tmpDir, List<? extends NodeProperty<?>> nodeProperties, String remoteAdmin, String jvmopts, boolean stopOnTerminate, String idleTerminationMinutes, String publicDNS, String privateDNS, List<EC2Tag> tags, String cloudName, int launchTimeout, AMITypeData amiType, ConnectionStrategy connectionStrategy, int maxTotalUses, Tenancy tenancy) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
@DataBoundConstructor public EC2OndemandSlave(String name, String instanceId, String templateDescription, String remoteFS, int numExecutors, String labelString, Node.Mode mode, String initScript, String tmpDir, List<? extends NodeProperty<?>> nodeProperties, String remoteAdmin, String jvmopts, boolean stopOnTerminate, String idleTerminationMinutes, String publicDNS, String privateDNS, List<EC2Tag> tags, String cloudName, int launchTimeout, AMITypeData amiType, ConnectionStrategy connectionStrategy, int maxTotalUses, Tenancy tenancy, Boolean metadataEndpointEnabled, Boolean metadataTokensRequired, Integer metadataHopsLimit) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
public EC2OndemandSlave(String instanceId) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
public void terminate()
terminate
in class EC2AbstractSlave
public Node reconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) throws Descriptor.FormException
reconfigure
in interface ReconfigurableDescribable<Node>
reconfigure
in class EC2AbstractSlave
Descriptor.FormException
public String getEc2Type()
getEc2Type
in class EC2AbstractSlave
Copyright © 2016–2022. All rights reserved.