Interface ConfigNode
public interface ConfigNode
An interface that copies the Configurate ConfigurationNode and is
implemented by it under the hood. This is used in the API to allow
AuraSkills to relocate Configurate packages while keeping API configuration
functionality. All methods work exactly like ConfigurationNode from Configurate,
though not all methods are available.
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends ConfigNode> Map<Object, ? extends ConfigNode> copy()booleanempty()from(ConfigNode other) <V> V<V> V<V> V@Nullable ObjectbooleanbooleangetBoolean(boolean def) doubledoublegetDouble(double def) floatgetFloat()floatgetFloat(float def) intgetInt()intgetInt(int def) <V> @Nullable List<V> <V> List<V> <V> List<V> longgetLong()longgetLong(long def) @Nullable StringbooleanbooleanbooleanisList()booleanisMap()booleanisNull()@Nullable Objectkey()mergeFrom(ConfigNode other) @Nullable ConfigNodeparent()@Nullable Objectraw()@Nullable ObjectbooleanremoveChild(Object key) <V> ConfigNode<V> ConfigNodebooleanvirtual()
-
Method Details
-
key
-
parent
-
node
-
node
-
hasChild
-
hasChild
-
virtual
boolean virtual() -
isNull
boolean isNull() -
isList
boolean isList() -
isMap
boolean isMap() -
empty
boolean empty() -
childrenList
List<? extends ConfigNode> childrenList() -
childrenMap
Map<Object,? extends ConfigNode> childrenMap() -
get
-
get
-
get
-
get
-
get
-
get
-
getList
-
getList
-
getList
-
getString
-
getString
-
getFloat
float getFloat() -
getFloat
float getFloat(float def) -
getDouble
double getDouble() -
getDouble
double getDouble(double def) -
getInt
int getInt() -
getInt
int getInt(int def) -
getLong
long getLong() -
getLong
long getLong(long def) -
getBoolean
boolean getBoolean() -
getBoolean
boolean getBoolean(boolean def) -
set
-
set
-
set
-
setList
-
raw
-
raw
-
rawScalar
-
from
-
mergeFrom
-
removeChild
-
appendListNode
ConfigNode appendListNode() -
copy
ConfigNode copy()
-