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 fleet,
String labelString,
String fsRoot,
hudson.slaves.ComputerConnector computerConnector,
boolean privateIpUsed,
boolean alwaysReconnect,
Integer idleMinutes,
Integer minSize,
Integer maxSize,
Integer numExecutors,
boolean addNodeOnlyIfRunning) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvision(hudson.model.Label label) |
String |
getAwsCredentialsId()
See
awsCredentialsId documentation. |
hudson.slaves.ComputerConnector |
getComputerConnector() |
String |
getFleet() |
String |
getFsRoot() |
int |
getIdleMinutes() |
String |
getJvmSettings() |
String |
getLabelString() |
Integer |
getMaxSize() |
Integer |
getMinSize() |
Integer |
getNumExecutors() |
String |
getRegion() |
boolean |
isAddNodeOnlyIfRunning() |
boolean |
isAlwaysReconnect() |
boolean |
isPrivateIpUsed() |
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 name, String awsCredentialsId, @Deprecated 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, boolean addNodeOnlyIfRunning)
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 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 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.