Interface SettingsSource<S extends SettingsSource.SourceType>
- All Known Subinterfaces:
BotSettingsSource, InstanceSettingsSource, ServerSettingsSource
- All Known Implementing Classes:
BotSettingsDelegate, BotSettingsImpl, InstanceSettingsDelegate, InstanceSettingsImpl, ServerSettingsDelegate, ServerSettingsImpl
public sealed interface SettingsSource<S extends SettingsSource.SourceType>
permits BotSettingsSource, InstanceSettingsSource, ServerSettingsSource
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic interfacestatic final classstatic final classstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanget(BooleanProperty<S> property) default <T extends Enum<T>>
Tget(ComboProperty<S> property, Class<T> clazz) default <T> Tget(ComboProperty<S> property, Function<String, T> converter) default doubleget(DoubleProperty<S> property) default intget(IntProperty<S> property) default MinMaxProperty.DataLayoutget(MinMaxProperty<S> property) Optional<com.google.gson.JsonElement> get(StringListProperty<S> property) default Stringget(StringProperty<S> property) default <T> Tdefault SettingsSource.CustomIntSuppliergetRandom(MinMaxProperty<S> property) stem()
-
Method Details
-
get
-
get
-
get
-
get
-
get
-
get
-
get
-
get
-
getRandom
-
getAsType
-
get
-
stem
SettingsSource.Stem<S> stem()
-