Class SettableFeature

  • All Implemented Interfaces:
    Feature

    public class SettableFeature
    extends FixedValueFeature
    A feature implementation that allow changing availability programmatically.
    • Constructor Detail

      • SettableFeature

        public SettableFeature​(java.lang.String name,
                               int initialAvailability)
      • SettableFeature

        public SettableFeature​(java.lang.String name,
                               boolean isAvailable)
    • Method Detail

      • set

        public void set​(int availability)
      • set

        public void set​(boolean isAvailable)