Class WbsConfigOption<T,A extends Annotation>

java.lang.Object
wbs.utils.util.configuration.WbsConfigOption<T,A>
Direct Known Subclasses:
WbsIntOption

public abstract class WbsConfigOption<T,A extends Annotation> extends Object
  • Field Details

    • value

      protected T value
    • defaultValue

      protected T defaultValue
  • Constructor Details

    • WbsConfigOption

      public WbsConfigOption(@NotNull @NotNull WbsConfig config, @NotNull A annotation)
  • Method Details

    • setValue

      public void setValue(T value)
    • getValue

      @NotNull public T getValue()
    • getDefaultValue

      @NotNull public T getDefaultValue()
    • isValueSet

      public boolean isValueSet()