public class EC2FleetNode extends Slave implements EphemeralNode
EC2FleetNode
represents an agent running on an EC2 instance, responsible for creating EC2FleetNodeComputer
.Modifier and Type | Class and Description |
---|---|
static class |
EC2FleetNode.DescriptorImpl |
Slave.JnlpJar, Slave.SlaveDescriptor
Node.InternalComputerListener, Node.Mode
ExtensionPoint.LegacyInstancesAreScopedToHudson
holdOffLaunchUntilSave, SKIP_BUILD_CHECK_ON_FLYWEIGHTS
Constructor and Description |
---|
EC2FleetNode(String instanceId,
String nodeDescription,
String remoteFS,
int numExecutors,
Node.Mode mode,
String label,
List<? extends NodeProperty<?>> nodeProperties,
String cloudName,
ComputerLauncher launcher,
int maxTotalUses) |
Modifier and Type | Method and Description |
---|---|
Node |
asNode() |
Computer |
createComputer() |
void |
decrementUsesRemaining() |
AbstractEC2FleetCloud |
getCloud() |
String |
getCloudName() |
EC2FleetNode.DescriptorImpl |
getDescriptor() |
String |
getDisplayName() |
String |
getInstanceId() |
int |
getMaxTotalUses() |
int |
getUsesRemaining() |
void |
setInstanceId(String instanceId) |
createLauncher, equals, getClockDifferenceCallable, getComputer, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId, toString
canTake, canTake, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getFileSystemProvisioner, getLabelCloud, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, 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
public EC2FleetNode(String instanceId, String nodeDescription, String remoteFS, int numExecutors, Node.Mode mode, String label, List<? extends NodeProperty<?>> nodeProperties, String cloudName, ComputerLauncher launcher, int maxTotalUses) throws IOException, Descriptor.FormException
IOException
Descriptor.FormException
public String getCloudName()
public String getInstanceId()
public void setInstanceId(String instanceId)
public int getMaxTotalUses()
public int getUsesRemaining()
public void decrementUsesRemaining()
public Node asNode()
asNode
in interface EphemeralNode
public String getDisplayName()
getDisplayName
in interface ModelObject
getDisplayName
in class Node
public Computer createComputer()
createComputer
in class Slave
public AbstractEC2FleetCloud getCloud()
public EC2FleetNode.DescriptorImpl getDescriptor()
getDescriptor
in interface Describable<Node>
getDescriptor
in class Slave
Copyright © 2016–2023. All rights reserved.