public class EC2FleetCloud
extends hudson.slaves.Cloud
CloudNanny| Modifier and Type | Class and Description |
|---|---|
static class |
EC2FleetCloud.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static String |
FLEET_CLOUD_ID |
| Constructor and Description |
|---|
EC2FleetCloud(String name,
String awsCredentialsId,
String credentialsId,
String region,
String endpoint,
String fleet,
String labelString,
String fsRoot,
hudson.slaves.ComputerConnector computerConnector,
boolean privateIpUsed,
boolean alwaysReconnect,
Integer idleMinutes,
Integer minSize,
Integer maxSize,
Integer numExecutors,
boolean addNodeOnlyIfRunning,
boolean restrictUsage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvision(hudson.model.Label label) |
String |
getAwsCredentialsId()
See
awsCredentialsId documentation. |
hudson.slaves.ComputerConnector |
getComputerConnector() |
String |
getEndpoint() |
String |
getFleet() |
String |
getFsRoot() |
int |
getIdleMinutes() |
String |
getJvmSettings() |
String |
getLabelString() |
Integer |
getMaxSize() |
Integer |
getMinSize() |
Integer |
getNumExecutors() |
String |
getRegion() |
boolean |
isAddNodeOnlyIfRunning() |
boolean |
isAlwaysReconnect() |
boolean |
isPrivateIpUsed() |
boolean |
isRestrictUsage() |
Collection<hudson.slaves.NodeProvisioner.PlannedNode> |
provision(hudson.model.Label label,
int excessWorkload) |
Collection<hudson.slaves.NodeProvisioner.PlannedNode> |
provisionInternal(hudson.model.Label label,
int excessWorkload) |
boolean |
terminateInstance(String instanceId) |
FleetStateStats |
updateStatus() |
all, checkPermission, getACL, getDescriptor, getDisplayName, getSearchUrl, hasPermissionpublic static final String FLEET_CLOUD_ID
@DataBoundConstructor public EC2FleetCloud(String name, String awsCredentialsId, @Deprecated String credentialsId, String region, String endpoint, String fleet, String labelString, String fsRoot, hudson.slaves.ComputerConnector computerConnector, boolean privateIpUsed, boolean alwaysReconnect, Integer idleMinutes, Integer minSize, Integer maxSize, Integer numExecutors, boolean addNodeOnlyIfRunning, boolean restrictUsage)
public String getAwsCredentialsId()
awsCredentialsId documentation. Don't use fields directly to be able
get old version of plugin and for new.public String getRegion()
public String getEndpoint()
public String getFleet()
public String getFsRoot()
public boolean isAddNodeOnlyIfRunning()
public hudson.slaves.ComputerConnector getComputerConnector()
public boolean isPrivateIpUsed()
public boolean isAlwaysReconnect()
public String getLabelString()
public int getIdleMinutes()
public Integer getMaxSize()
public Integer getMinSize()
public Integer getNumExecutors()
public String getJvmSettings()
public boolean isRestrictUsage()
public Collection<hudson.slaves.NodeProvisioner.PlannedNode> provision(hudson.model.Label label, int excessWorkload)
provision in class hudson.slaves.Cloudpublic Collection<hudson.slaves.NodeProvisioner.PlannedNode> provisionInternal(hudson.model.Label label, int excessWorkload)
public FleetStateStats updateStatus()
public boolean terminateInstance(String instanceId)
public boolean canProvision(hudson.model.Label label)
canProvision in class hudson.slaves.CloudCopyright © 2016–2019. All rights reserved.