Interface Feature

All Known Implementing Classes:
FixedValueFeature, SettableFeature

public interface Feature
This interface represents a feature.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the availability of this feature, an integer between 0 and 100.
    boolean
    Whether this feature is available or not.
    Returns a textual representation of the feature.
  • Field Details

    • FEATURE_AVAILABILITY_MAX_VALUE

      static final int FEATURE_AVAILABILITY_MAX_VALUE
      See Also:
  • Method Details

    • name

      String name()
      Returns a textual representation of the feature.
      Returns:
      name of the feature.
    • availability

      int availability()
      Returns the availability of this feature, an integer between 0 and 100.
      Returns:
      the availability of this feature.
    • isAvailable

      boolean isAvailable()
      Whether this feature is available or not.
      Returns:
      true if this feature is available, otherwise false.