Interface BooleanSetting

All Superinterfaces:
Setting
All Known Subinterfaces:
VersionedBooleanSetting

public interface BooleanSetting extends Setting
Base boolean setting class.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The default value of the setting.
    boolean
    Whether the setting is active.
    void
    setActive(boolean value)
    Sets the active state of the setting.

    Methods inherited from interface Setting

    name, read, write
  • Method Details

    • isActive

      boolean isActive()
      Whether the setting is active.
      Returns:
      true if the setting is active, false otherwise
    • setActive

      void setActive(boolean value)
      Sets the active state of the setting.
      Parameters:
      value - the new active state of the setting
    • defaultValue

      boolean defaultValue()
      The default value of the setting.
      Returns:
      the default value of the setting