Class StorageLimits
java.lang.Object
com.atlassian.bamboo.configuration.StorageLimits
- All Implemented Interfaces:
Serializable
Storage limits configuration.
When Bamboo uses more than soft limit on local hard drive for artifact storage then warning will be shown for admin
When Bamboo uses more than hard limit on local hard drive for artifact storage then warning will be shown for admin
and stop starting new builds.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
When Bamboo uses more than hard limit on local hard drive for artifact storage then warning will be shown for adminint
When Bamboo uses more than soft limit on local hard drive for artifact storage then warning will be shown for admin
-
Field Details
-
DEFAULT_SOFT_LIMIT_GB
public static final int DEFAULT_SOFT_LIMIT_GB- See Also:
-
DEFAULT_HARD_LIMIT_GB
public static final int DEFAULT_HARD_LIMIT_GB- See Also:
-
-
Constructor Details
-
StorageLimits
public StorageLimits(int softLimit, int hardLimit) - Parameters:
softLimit
- in GbhardLimit
- in Gb
-
-
Method Details
-
getSoftLimit
public int getSoftLimit()When Bamboo uses more than soft limit on local hard drive for artifact storage then warning will be shown for admin- Returns:
- soft limit in Gb
-
getHardLimit
public int getHardLimit()When Bamboo uses more than hard limit on local hard drive for artifact storage then warning will be shown for admin- Returns:
- hard limit in Gb
-