Class KeyedYamlConfigAccessor
java.lang.Object
org.kingdoms.utils.config.ConfigPathBuilder
org.kingdoms.config.implementation.KeyedYamlConfigAccessor
- All Implemented Interfaces:
EnumConfig,KeyedConfigAccessor
public class KeyedYamlConfigAccessor
extends ConfigPathBuilder
implements KeyedConfigAccessor, EnumConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tget(org.kingdoms.utils.config.NodeInterpreter<T> nodeInterpreter) booleandoubleintgetInt()longgetLong()org.kingdoms.utils.compilers.MathCompiler.Expressionorg.snakeyaml.nodes.NodegetNode()booleanisInDisabledWorld(org.bukkit.entity.Entity entity) booleanisSet()withOption(String first, String second) withProperty(String prop) Methods inherited from class org.kingdoms.utils.config.ConfigPathBuilder
build, replaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kingdoms.config.KeyedConfigAccessor
forWorld, forWorld, getEnum, getTime, getTimeMillis, getTimeMillis
-
Constructor Details
-
KeyedYamlConfigAccessor
-
-
Method Details
-
isInDisabledWorld
public boolean isInDisabledWorld(org.bukkit.entity.Entity entity) -
withProperty
- Specified by:
withPropertyin interfaceKeyedConfigAccessor- Overrides:
withPropertyin classConfigPathBuilder
-
clearExtras
- Specified by:
clearExtrasin interfaceKeyedConfigAccessor- Overrides:
clearExtrasin classConfigPathBuilder
-
noDefault
-
withOption
- Specified by:
withOptionin interfaceKeyedConfigAccessor
-
applyProperties
- Specified by:
applyPropertiesin interfaceKeyedConfigAccessor
-
getDynamicOption
- Specified by:
getDynamicOptionin interfaceKeyedConfigAccessor
-
getNode
public org.snakeyaml.nodes.Node getNode()- Specified by:
getNodein interfaceKeyedConfigAccessor
-
isSet
public boolean isSet()- Specified by:
isSetin interfaceKeyedConfigAccessor
-
getString
- Specified by:
getStringin interfaceKeyedConfigAccessor
-
getMathExpression
public org.kingdoms.utils.compilers.MathCompiler.Expression getMathExpression()- Specified by:
getMathExpressionin interfaceKeyedConfigAccessor
-
get
public <T> T get(org.kingdoms.utils.config.NodeInterpreter<T> nodeInterpreter) - Specified by:
getin interfaceKeyedConfigAccessor
-
getCondition
-
getStringList
- Specified by:
getStringListin interfaceKeyedConfigAccessor
-
getSectionKeys
- Specified by:
getSectionKeysin interfaceKeyedConfigAccessor
-
getBoolean
public boolean getBoolean()- Specified by:
getBooleanin interfaceKeyedConfigAccessor
-
getIntegerList
- Specified by:
getIntegerListin interfaceKeyedConfigAccessor
-
getInt
public int getInt()- Specified by:
getIntin interfaceKeyedConfigAccessor
-
getDouble
public double getDouble()- Specified by:
getDoublein interfaceKeyedConfigAccessor
-
getLong
public long getLong()- Specified by:
getLongin interfaceKeyedConfigAccessor
-
getSection
- Specified by:
getSectionin interfaceKeyedConfigAccessor
-
getManager
- Specified by:
getManagerin interfaceEnumConfig
-