Package org.kingdoms.config
Interface KeyedConfigAccessor
- All Known Implementing Classes:
KeyedYamlConfigAccessor,KingdomsConfig
public interface KeyedConfigAccessor
-
Method Summary
Modifier and TypeMethodDescriptiondefault KeyedConfigAccessordefault KeyedConfigAccessorforWorld(org.bukkit.entity.Entity entity) <T> Tget(org.kingdoms.utils.config.NodeInterpreter<T> nodeInterpreter) booleandoubledefault <T extends Enum<T>>
TintgetInt()longgetLong()org.kingdoms.utils.compilers.MathCompiler.Expressionorg.snakeyaml.nodes.NodegetNode()default Longdefault Longdefault LonggetTimeMillis(TimeUnit timeUnit) Deprecated.booleanisSet()withOption(String first, String second) withProperty(String property)
-
Method Details
-
withProperty
-
applyProperties
KeyedConfigAccessor applyProperties() -
withOption
-
forWorld
-
clearExtras
KeyedYamlConfigAccessor clearExtras() -
forWorld
-
getDynamicOption
String getDynamicOption() -
isSet
boolean isSet() -
getString
String getString() -
getNode
org.snakeyaml.nodes.Node getNode() -
getMathExpression
org.kingdoms.utils.compilers.MathCompiler.Expression getMathExpression() -
get
<T> T get(org.kingdoms.utils.config.NodeInterpreter<T> nodeInterpreter) -
getStringList
-
getSectionKeys
-
getSection
ConfigAccessor getSection() -
getBoolean
boolean getBoolean() -
getIntegerList
-
getInt
int getInt() -
getDouble
double getDouble() -
getLong
long getLong() -
getTimeMillis
-
getTime
-
getTimeMillis
Deprecated. -
getEnum
-