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 Details

    • key

      @Nullable @Nullable Object key()
    • parent

      @Nullable @Nullable ConfigNode parent()
    • node

      ConfigNode node(Object... path)
    • node

      ConfigNode node(Iterable<?> path)
    • hasChild

      boolean hasChild(Object... path)
    • hasChild

      boolean hasChild(Iterable<?> path)
    • 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

      @Nullable <V> V get(Class<V> type)
    • get

      <V> V get(Class<V> type, V def)
    • get

      <V> V get(Class<V> type, Supplier<V> defSupplier)
    • get

      @Nullable @Nullable Object get(Type type)
    • get

      Object get(Type type, Object def)
    • get

      Object get(Type type, Supplier<?> defSupplier)
    • getList

      @Nullable <V> @Nullable List<V> getList(Class<V> type)
    • getList

      <V> List<V> getList(Class<V> elementType, List<V> def)
    • getList

      <V> List<V> getList(Class<V> elementType, Supplier<List<V>> defSupplier)
    • getString

      @Nullable @Nullable String getString()
    • getString

      String getString(String def)
    • 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

      ConfigNode set(@Nullable @Nullable Object value)
    • set

      <V> ConfigNode set(Class<V> type, @Nullable V value)
    • set

      ConfigNode set(Type type, @Nullable @Nullable Object value)
    • setList

      <V> ConfigNode setList(Class<V> elementType, @Nullable @Nullable List<V> items)
    • raw

      @Nullable @Nullable Object raw()
    • raw

      ConfigNode raw(Object value)
    • rawScalar

      @Nullable @Nullable Object rawScalar()
    • from

      ConfigNode from(ConfigNode other)
    • mergeFrom

      ConfigNode mergeFrom(ConfigNode other)
    • removeChild

      boolean removeChild(Object key)
    • appendListNode

      ConfigNode appendListNode()
    • copy

      ConfigNode copy()