Interface IEnabledIndicator

All Known Implementing Classes:
ConditionalLogger, EEnabled

public interface IEnabledIndicator
Simple interface for all objects that can be enabled and disabled.
Author:
Philip Helger
  • Method Details

    • isEnabled

      boolean isEnabled()
      Returns:
      true if the object is currently enabled, false otherwise.
    • isDisabled

      default boolean isDisabled()
      Returns:
      true if the object is currently disabled, false otherwise.
    • or

      @Nonnull default EEnabled or(@Nonnull IEnabledIndicator aEnabled)
    • and

      @Nonnull default EEnabled and(@Nonnull IEnabledIndicator aEnabled)