Class StorageLimits
- java.lang.Object
-
- com.atlassian.bamboo.configuration.StorageLimits
-
- All Implemented Interfaces:
Serializable
@Immutable public class StorageLimits extends Object implements 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_HARD_LIMIT_GB
static int
DEFAULT_SOFT_LIMIT_GB
-
Constructor Summary
Constructors Constructor Description StorageLimits(int softLimit, int hardLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHardLimit()
When Bamboo uses more than hard limit on local hard drive for artifact storage then warning will be shown for adminint
getSoftLimit()
When Bamboo uses more than soft limit on local hard drive for artifact storage then warning will be shown for admin
-
-
-
Field Detail
-
DEFAULT_SOFT_LIMIT_GB
public static final int DEFAULT_SOFT_LIMIT_GB
- See Also:
- Constant Field Values
-
DEFAULT_HARD_LIMIT_GB
public static final int DEFAULT_HARD_LIMIT_GB
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-