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 credentialsId,
String region,
String fleet,
String labelString,
String fsRoot,
hudson.slaves.ComputerConnector computerConnector,
boolean privateIpUsed,
boolean alwaysReconnect,
Integer idleMinutes,
Integer minSize,
Integer maxSize,
Integer numExecutors) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvision(hudson.model.Label label) |
hudson.slaves.ComputerConnector |
getComputerConnector() |
String |
getCredentialsId() |
String |
getFleet() |
String |
getFsRoot() |
int |
getIdleMinutes() |
String |
getJvmSettings() |
String |
getLabelString() |
Integer |
getMaxSize() |
Integer |
getMinSize() |
Integer |
getNumExecutors() |
String |
getRegion() |
FleetStateStats |
getStatusCache() |
boolean |
isAlwaysReconnect() |
boolean |
isPrivateIpUsed() |
static String |
join(String separator,
Iterable<String> elements) |
static void |
log(Logger logger,
Level level,
hudson.model.TaskListener listener,
String message) |
static void |
log(Logger logger,
Level level,
hudson.model.TaskListener listener,
String message,
Throwable exception) |
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 credentialsId, String region, String fleet, String labelString, String fsRoot, hudson.slaves.ComputerConnector computerConnector, boolean privateIpUsed, boolean alwaysReconnect, Integer idleMinutes, Integer minSize, Integer maxSize, Integer numExecutors)
public String getCredentialsId()
public String getRegion()
public String getFleet()
public String getFsRoot()
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()
@Nonnull public FleetStateStats getStatusCache()
public static void log(Logger logger, Level level, hudson.model.TaskListener listener, String message)
public static void log(Logger logger, Level level, hudson.model.TaskListener listener, String message, Throwable exception)
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.