Class Option<T>

java.lang.Object
ch.njol.skript.config.Option<T>

public class Option<T> extends Object
  • Field Details

    • key

      public final String key
  • Constructor Details

  • Method Details

    • setter

      public final Option<T> setter(Setter<? super T> setter)
    • optional

      public final Option<T> optional(boolean optional)
    • set

      public final void set(Config config, String path)
    • onValueChange

      protected void onValueChange()
    • value

      public final T value()
    • defaultValue

      public final T defaultValue()
    • isOptional

      public final boolean isOptional()