Package cc.carm.lib.configuration.yaml
Class YAMLValue<T>
- java.lang.Object
-
- cc.carm.lib.configuration.core.value.ValueManifest<T>
-
- cc.carm.lib.configuration.core.value.ConfigValue<T>
-
- cc.carm.lib.configuration.core.value.impl.CachedConfigValue<T>
-
- cc.carm.lib.configuration.yaml.YAMLValue<T>
-
- Direct Known Subclasses:
ConfiguredSerializable
public abstract class YAMLValue<T> extends CachedConfigValue<T>
-
-
Field Summary
-
Fields inherited from class cc.carm.lib.configuration.core.value.impl.CachedConfigValue
cachedValue, parsedTime
-
Fields inherited from class cc.carm.lib.configuration.core.value.ValueManifest
configPath, defaultValue, headerComments, inlineComment, provider
-
-
Constructor Summary
Constructors Constructor Description YAMLValue(@NotNull ValueManifest<T> manifest)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull YAMLConfigBuilderbuilder()YAMLSectionWrappergetYAMLConfig()YAMLConfigProvidergetYAMLProvider()-
Methods inherited from class cc.carm.lib.configuration.core.value.impl.CachedConfigValue
getCachedOrDefault, getCachedOrDefault, getCachedValue, getDefaultFirst, isExpired, updateCache
-
Methods inherited from class cc.carm.lib.configuration.core.value.ConfigValue
get, getNotNull, getOptional, getOrDefault, initialize, isDefault, set, setDefault, setDefault
-
Methods inherited from class cc.carm.lib.configuration.core.value.ValueManifest
getConfigPath, getConfiguration, getDefaultValue, getHeaderComments, getInlineComment, getProvider, getValue, initialize, of, of, setDefaultValue, setValue
-
-
-
-
Constructor Detail
-
YAMLValue
public YAMLValue(@NotNull @NotNull ValueManifest<T> manifest)
-
-
Method Detail
-
builder
@NotNull public static @NotNull YAMLConfigBuilder builder()
-
getYAMLProvider
public YAMLConfigProvider getYAMLProvider()
-
getYAMLConfig
public YAMLSectionWrapper getYAMLConfig()
-
-