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()
boolean
empty()
from
(ConfigNode other) <V> V
<V> V
<V> V
@Nullable Object
boolean
boolean
getBoolean
(boolean def) double
double
getDouble
(double def) float
getFloat()
float
getFloat
(float def) int
getInt()
int
getInt
(int def) <V> @Nullable List
<V> <V> List
<V> <V> List
<V> long
getLong()
long
getLong
(long def) @Nullable String
boolean
boolean
boolean
isList()
boolean
isMap()
boolean
isNull()
@Nullable Object
key()
mergeFrom
(ConfigNode other) @Nullable ConfigNode
parent()
@Nullable Object
raw()
@Nullable Object
boolean
removeChild
(Object key) <V> ConfigNode
<V> ConfigNode
boolean
virtual()
-
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()
-