Interface Feature

  • All Known Implementing Classes:
    NamedFeature

    public interface Feature

    This interface represents a feature and is typically implemented by the feature enum.

    Author:
    Christian Kaltepoth
    • Method Detail

      • name

        String name()
        Returns a textual representation of the feature. This method is implicitly implemented as feature typically are enumerations.
        Returns:
        Name of the feature
      • isActive

        default boolean isActive()
        Checks whether the feature is active for the current user.
        Returns:
        true if the feature is active, false otherwise