Class EnabledConfig


  • public final class EnabledConfig
    extends Object
    Enabled configuration.
    • Constructor Detail

      • EnabledConfig

        public EnabledConfig()
    • Method Detail

      • enabled

        public Boolean enabled()
        Get the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set.
        Returns:
        the enabled value.
      • withEnabled

        public EnabledConfig withEnabled​(Boolean enabled)
        Set the enabled property: True if configuration is enabled, false if it is disabled and null if configuration is not set.
        Parameters:
        enabled - the enabled value to set.
        Returns:
        the EnabledConfig object itself.
      • validate

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