public class AutomaticInstanceManagementConfig extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static AutomaticInstanceManagementConfig |
AGGRESSIVE_INSTANCE_MANAGEMENT_CONFIG |
static List<AutomaticInstanceManagementConfig> |
AUTOMATIC_INSTANCE_MANAGEMENT_CONFIG_LIST |
static String |
CUSTOM |
static AutomaticInstanceManagementConfig |
CUSTOM_INSTANCE_MANAGEMENT_CONFIG |
static AutomaticInstanceManagementConfig |
DEFAULT_INSTANCE_MANAGEMENT_CONFIG |
static AutomaticInstanceManagementConfig |
DISABLED_INSTANCE_MANAGEMENT_CONFIG |
static AutomaticInstanceManagementConfig |
PASSIVE_INSTANCE_MANAGEMENT_CONFIG |
Modifier and Type | Method and Description |
---|---|
long |
getAverageTimeInQueueThreshold() |
String |
getConfigurationName() |
int |
getElasticBuildsInQueueThreshold() |
long |
getInstanceIdleTimeThreshold() |
int |
getMaxElasticInstancesToStartAtOnce() |
int |
getMaxNonBambooInstances() |
int |
getTotalBuildInQueueThreshold() |
boolean |
isAutomaticInstanceManagementEnabled() |
void |
setAverageTimeInQueueThreshold(long averageTimeInQueueThreshold) |
void |
setElasticBuildsInQueueThreshold(int elasticBuildsInQueueThreshold) |
void |
setInstanceIdleTimeThreshold(long instanceIdleTimeThreshold) |
void |
setMaxElasticInstancesToStartAtOnce(int maxElasticInstancesToStartAtOnce) |
void |
setMaxNonBambooInstances(int maxNonBambooInstances) |
void |
setTotalBuildInQueueThreshold(int totalBuildInQueueThreshold) |
public static final String CUSTOM
public static final AutomaticInstanceManagementConfig DEFAULT_INSTANCE_MANAGEMENT_CONFIG
public static final AutomaticInstanceManagementConfig DISABLED_INSTANCE_MANAGEMENT_CONFIG
public static final AutomaticInstanceManagementConfig CUSTOM_INSTANCE_MANAGEMENT_CONFIG
public static final AutomaticInstanceManagementConfig PASSIVE_INSTANCE_MANAGEMENT_CONFIG
public static final AutomaticInstanceManagementConfig AGGRESSIVE_INSTANCE_MANAGEMENT_CONFIG
public static final List<AutomaticInstanceManagementConfig> AUTOMATIC_INSTANCE_MANAGEMENT_CONFIG_LIST
public String getConfigurationName()
public boolean isAutomaticInstanceManagementEnabled()
public long getAverageTimeInQueueThreshold()
public void setAverageTimeInQueueThreshold(long averageTimeInQueueThreshold)
public int getElasticBuildsInQueueThreshold()
public void setElasticBuildsInQueueThreshold(int elasticBuildsInQueueThreshold)
public int getTotalBuildInQueueThreshold()
public void setTotalBuildInQueueThreshold(int totalBuildInQueueThreshold)
public int getMaxElasticInstancesToStartAtOnce()
public void setMaxElasticInstancesToStartAtOnce(int maxElasticInstancesToStartAtOnce)
public long getInstanceIdleTimeThreshold()
public void setInstanceIdleTimeThreshold(long instanceIdleTimeThreshold)
public int getMaxNonBambooInstances()
public void setMaxNonBambooInstances(int maxNonBambooInstances)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.