Class 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
    • Constructor Detail

      • StorageLimits

        public StorageLimits​(int softLimit,
                             int hardLimit)
        Parameters:
        softLimit - in Gb
        hardLimit - in Gb
    • 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