Class LogSizeCapability


  • public final class LogSizeCapability
    extends Object
    The log size capability.
    • Constructor Detail

      • LogSizeCapability

        public LogSizeCapability()
    • Method Detail

      • limit

        public Integer limit()
        Get the limit property: The log size limit (see 'unit' for the units).
        Returns:
        the limit value.
      • unit

        public LogSizeUnit unit()
        Get the unit property: The units that the limit is expressed in.
        Returns:
        the unit value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.