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,
boolean disableTaskResubmit,
Integer initOnlineTimeoutSec,
Integer initOnlineCheckIntervalSec,
boolean scaleExecutorsByWeight) |
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, boolean disableTaskResubmit, Integer initOnlineTimeoutSec, Integer initOnlineCheckIntervalSec, boolean scaleExecutorsByWeight)
public String getAwsCredentialsId()
awsCredentialsId documentation. Don't use fields directly to be able
get old version of plugin and for new.public boolean isDisableTaskResubmit()
public int getInitOnlineTimeoutSec()
public int getInitOnlineCheckIntervalSec()
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 boolean isScaleExecutorsByWeight()
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.