Class FeatureConfig
java.lang.Object
com.kamikazejam.kamicommon.configuration.standalone.AbstractConfig<YamlConfiguration>
com.kamikazejam.kamicommon.configuration.spigot.KamiConfig
com.kamikazejam.kamicommon.configuration.spigot.KamiConfigExt
com.kamikazejam.kamicommon.subsystem.SubsystemConfig<Feature>
com.kamikazejam.kamicommon.subsystem.feature.FeatureConfig
- All Implemented Interfaces:
ObservableConfig<KamiConfig>, ConfigurationMethods<ConfigurationSection>, ConfigurationSection
The configuration of one
Feature, defaulted from that feature's resource in the plugin jar and
written under the plugin's data folder. It is created lazily by Feature.createConfig(), so a
feature reaches its own with AbstractSubsystem.getConfig() rather than constructing this directly.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureConfig(@NotNull Feature feature, @NotNull ConfigSource source, @NotNull String resourcePath) FeatureConfig(@NotNull Feature feature, @NotNull String resourcePath) -
Method Summary
Methods inherited from class SubsystemConfig
getIS, getLocation, getSubsystemMethods inherited from class KamiConfigExt
applyThisPlaceholders, getString, getString, getStringList, getStringListMethods inherited from class KamiConfig
addDefault, contains, get, get, getBigDecimal, getBigDecimal, getBoolean, getBoolean, getByte, getByte, getByteList, getByteList, getConfigurationSection, getConfigurationSequence, getCurrentPath, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getIntegerList, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLong, getLong, getShort, getShort, getSource, getYamlConfiguration, isBoolean, isByte, isConfigurationSection, isDouble, isEmpty, isFloat, isInt, isItemStack, isList, isLong, isNumber, isSet, isShort, isString, parseItemBuilder, put, putBoolean, putByte, putDouble, putFloat, putInt, putInteger, putLong, putShort, putString, registerConfigObserver, reload, reloadObservableConfig, set, setBoolean, setByte, setDouble, setFloat, setInt, setInteger, setItemStack, setLong, setShort, setString, unregisterConfigObserver, unregisterConfigObserversMethods inherited from class AbstractConfig
isChanged, save, save, setChangedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfigurationMethods
isChanged, setChanged
-
Constructor Details
-
FeatureConfig
-
FeatureConfig
public FeatureConfig(@NotNull @NotNull Feature feature, @NotNull @NotNull ConfigSource source, @NotNull @NotNull String resourcePath)
-
-
Method Details
-
getFeature
-