- get(TypeToken<T>) - Method in class ninja.leaping.configurate.objectmapping.serialize.TypeSerializerCollection
-
- get(int) - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.NodePath
-
Gets a specific element from the path array
- getAppendedNode() - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
-
- getAppendedNode() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
-
- getAppendedNode() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
- getAppendedNode() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getArray() - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.NodePath
-
Returns a copy of the original path array
- getBoolean() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getBoolean(boolean) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getChild(Object, boolean) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getChildrenList() - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
-
- getChildrenList() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
-
- getChildrenList() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Return an immutable copy of the list of children this node is aware of
- getChildrenList() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getChildrenMap() - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
-
- getChildrenMap() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
-
- getChildrenMap() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Return an immutable copy of the mapping from key to node of every child this node is aware of
- getChildrenMap() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getComment() - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
-
Gets the current value for the comment.
- getComment() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
-
- getDefaultCommentHandler() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
-
- getDefaultOptions() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- getDefaultOptions() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
-
Get the default options that any new nodes will be created with if no options object is passed.
- getDefaultOptions() - Method in interface ninja.leaping.configurate.loader.ConfigurationLoader
-
Get the default options that any new nodes will be created with if no options object is passed.
- getDefaultSerializers() - Static method in class ninja.leaping.configurate.objectmapping.serialize.TypeSerializers
-
- getDouble() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getDouble(double) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getFactory() - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
-
- getFieldValueSeparatorStyle() - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
-
- getFloat() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getFloat(float) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getHeader() - Method in class ninja.leaping.configurate.ConfigurationOptions
-
Get the header used for this configuration
- getHeaderMode() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- getIndent() - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader.Builder
-
- getIndent() - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
-
- getInstance() - Static method in class ninja.leaping.configurate.objectmapping.DefaultObjectMapperFactory
-
- getInstance() - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper.BoundInstance
-
Return the instance this mapper is bound to.
- getInt() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getInt(int) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getKey() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
The key for this node.
- getKey() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getList(Function<Object, T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
If this node has list values, this function unwraps them and converts them to an appropriate type based on the
provided function.
- getList(Function<Object, T>, List<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
If this node has list values, this function unwraps them and converts them to an appropriate type based on the
provided function.
- getList(Function<Object, T>, Supplier<List<T>>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
If this node has list values, this function unwraps them and converts them to an appropriate type based on the
provided function.
- getList(TypeToken<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
If this node has list values, this function unwraps them and converts them to an appropriate type based on the
provided type.
- getList(TypeToken<T>, List<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
If this node has list values, this function unwraps them and converts them to an appropriate type based on the
provided type.
- getList(TypeToken<T>, Supplier<List<T>>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
If this node has list values, this function unwraps them and converts them to an appropriate type based on the
provided type.
- getList(Function<Object, T>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getList(Function<Object, T>, List<T>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getList(Function<Object, T>, Supplier<List<T>>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getList(TypeToken<T>, List<T>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getList(TypeToken<T>, Supplier<List<T>>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getLong() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getLong(long) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getMapFactory() - Method in class ninja.leaping.configurate.ConfigurationOptions
-
Get the key comparator currently being used for this configuration
- getMappedType() - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper
-
- getMapper(Class<T>) - Method in class ninja.leaping.configurate.objectmapping.DefaultObjectMapperFactory
-
- getMapper(Class<T>) - Method in class ninja.leaping.configurate.objectmapping.GuiceObjectMapperFactory
-
- getMapper(Class<T>) - Method in interface ninja.leaping.configurate.objectmapping.ObjectMapperFactory
-
- getMoveStrategy() - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.Builder
-
- getNode(Object...) - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
-
- getNode(Object...) - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
-
- getNode(Object...) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the node at the given (relative) path, possibly traversing multiple levels of nodes
- getNode(Object...) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getObjectMapperFactory() - Method in class ninja.leaping.configurate.ConfigurationOptions
-
Get the current object mapper factory that is most appropriate to this configuration.
- getOptions() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Return the options that currently apply to this node
- getOptions() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getParent() - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
-
- getParent() - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
-
- getParent() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Returns the current parent for this node.
- getParent() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getParseOptions() - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
-
- getPath() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
The full path from the root to this node.
- getPath() - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getRenderOptions() - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
-
- getSerializers() - Method in class ninja.leaping.configurate.ConfigurationOptions
-
- getSink() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- getSource() - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- getString() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getString(String) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the value typed using the appropriate type conversion from
Types
- getValue() - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Get the current value associated with this node.
- getValue(Object) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Get the current value associated with this node.
- getValue(Supplier<Object>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Get the current value associated with this node.
- getValue(Function<Object, T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the appropriately transformed typed version of this node's value from the provided transformation function
- getValue(Function<Object, T>, T) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the appropriately transformed typed version of this node's value from the provided transformation function
- getValue(Function<Object, T>, Supplier<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Gets the appropriately transformed typed version of this node's value from the provided transformation function
- getValue(TypeToken<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Get the current value associated with this node.
- getValue(TypeToken<T>, T) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Get the current value associated with this node.
- getValue(TypeToken<T>, Supplier<T>) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Get the current value associated with this node.
- getValue() - Method in enum ninja.leaping.configurate.json.FieldValueSeparatorStyle
-
- getValue(Object) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getValue(Supplier<Object>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getValue(Function<Object, T>, T) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getValue(Function<Object, T>, Supplier<T>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getValue(TypeToken<T>, T) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- getValue(TypeToken<T>, Supplier<T>) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- GsonConfigurationLoader - Class in ninja.leaping.configurate.gson
-
A loader for JSON-formatted configurations, using the jackson library for parsing and generation
- GsonConfigurationLoader(GsonConfigurationLoader.Builder) - Constructor for class ninja.leaping.configurate.gson.GsonConfigurationLoader
-
- GsonConfigurationLoader.Builder - Class in ninja.leaping.configurate.gson
-
- GuiceObjectMapperFactory - Class in ninja.leaping.configurate.objectmapping
-
A factory for
ObjectMapper
s that will inherit the injector from wherever it is provided.
- GuiceObjectMapperFactory(Injector) - Constructor for class ninja.leaping.configurate.objectmapping.GuiceObjectMapperFactory
-
- save(ConfigurationNode) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
-
- save(ConfigurationNode) - Method in interface ninja.leaping.configurate.loader.ConfigurationLoader
-
Save the contents of the given node tree to this loader.
- saveInternal(ConfigurationNode, Writer) - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader
-
- saveInternal(ConfigurationNode, Writer) - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader
-
- saveInternal(ConfigurationNode, Writer) - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader
-
- saveInternal(ConfigurationNode, Writer) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
-
- saveInternal(ConfigurationNode, Writer) - Method in class ninja.leaping.configurate.yaml.YAMLConfigurationLoader
-
- serialize(ConfigurationNode) - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper.BoundInstance
-
Serialize the data contained in annotated fields to the configuration node.
- serialize(TypeToken<?>, T, ConfigurationNode) - Method in interface ninja.leaping.configurate.objectmapping.serialize.TypeSerializer
-
- serializeTo(Object, ConfigurationNode) - Method in class ninja.leaping.configurate.objectmapping.ObjectMapper.FieldData
-
- setAcceptedTypes(Set<Class<?>>) - Method in class ninja.leaping.configurate.ConfigurationOptions
-
Set types that will be accepted as native values for this configuration
- setComment(String) - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
-
Sets the comment for this configuration.
- setComment(String) - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
-
- setDefaultOptions(ConfigurationOptions) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- setFieldValueSeparatorStyle(FieldValueSeparatorStyle) - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
-
- setFile(File) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- setFlowStyle(DumperOptions.FlowStyle) - Method in class ninja.leaping.configurate.yaml.YAMLConfigurationLoader.Builder
-
Sets the flow style for this configuration
Flow: the compact, json-like representation.
Example:
{value: [list, of, elements], another: value}
Block: expanded, traditional YAML
Example:
value:
- list
- of
- elements
another: value
- setHeader(String) - Method in class ninja.leaping.configurate.ConfigurationOptions
-
Set the header that will be written to a file if
- setHeaderMode(HeaderMode) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- setIndent(int) - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader.Builder
-
- setIndent(int) - Method in class ninja.leaping.configurate.json.JSONConfigurationLoader.Builder
-
- setIndent(int) - Method in class ninja.leaping.configurate.yaml.YAMLConfigurationLoader.Builder
-
- setLenient(boolean) - Method in class ninja.leaping.configurate.gson.GsonConfigurationLoader.Builder
-
- setMapFactory(MapFactory) - Method in class ninja.leaping.configurate.ConfigurationOptions
-
Return a new options object with the provided option set.
- setMoveStrategy(MoveStrategy) - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.Builder
-
- setObjectMapperFactory(ObjectMapperFactory) - Method in class ninja.leaping.configurate.ConfigurationOptions
-
Set the factory to use to produce object mapper instances for this configuration
- setParseOptions(ConfigParseOptions) - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
-
- setPath(Path) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- setPreservesHeader(boolean) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
Deprecated.
- setRenderOptions(ConfigRenderOptions) - Method in class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
-
- setSerializers(TypeSerializerCollection) - Method in class ninja.leaping.configurate.ConfigurationOptions
-
Set the collection of TypeSerializers to be used for lookups
- setShouldCopyDefaults(boolean) - Method in class ninja.leaping.configurate.ConfigurationOptions
-
Set whether defaults should be set when used.
- setSink(Callable<BufferedWriter>) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- setSource(Callable<BufferedReader>) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- Setting - Annotation Type in ninja.leaping.configurate.objectmapping
-
Fields with this annotation are
- setURL(URL) - Method in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- setValue(Object) - Method in interface ninja.leaping.configurate.commented.CommentedConfigurationNode
-
- setValue(Object) - Method in class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
-
- setValue(Object) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Set this node's value to the given value.
- setValue(TypeToken<T>, T) - Method in interface ninja.leaping.configurate.ConfigurationNode
-
Set this node's value to the given value.
- setValue(Object) - Method in class ninja.leaping.configurate.SimpleConfigurationNode
-
- setVersionKey(Object...) - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.VersionedBuilder
-
- shouldCopyDefaults() - Method in class ninja.leaping.configurate.ConfigurationOptions
-
Return whether or not default parameters provided to
ConfigurationNode
getter methods should be set to the node when used.
- SimpleCommentedConfigurationNode - Class in ninja.leaping.configurate.commented
-
Represents a configuration node containing comments
- SimpleCommentedConfigurationNode(Object, SimpleConfigurationNode, ConfigurationOptions) - Constructor for class ninja.leaping.configurate.commented.SimpleCommentedConfigurationNode
-
- SimpleConfigurationNode - Class in ninja.leaping.configurate
-
Simple implementation of a configuration node
- SimpleConfigurationNode(Object, SimpleConfigurationNode, ConfigurationOptions) - Constructor for class ninja.leaping.configurate.SimpleConfigurationNode
-
- sink - Variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- size() - Method in class ninja.leaping.configurate.transformation.ConfigurationTransformation.NodePath
-
- sorted(Comparator<Object>) - Static method in class ninja.leaping.configurate.util.MapFactories
-
- sortedNatural() - Static method in class ninja.leaping.configurate.util.MapFactories
-
- source - Variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader.Builder
-
- source - Variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
-
- strictAsBoolean(Object) - Static method in class ninja.leaping.configurate.Types
-
- strictAsDouble(Object) - Static method in class ninja.leaping.configurate.Types
-
- strictAsFloat(Object) - Static method in class ninja.leaping.configurate.Types
-
- strictAsInt(Object) - Static method in class ninja.leaping.configurate.Types
-
- strictAsLong(Object) - Static method in class ninja.leaping.configurate.Types
-
- strictAsString(Object) - Static method in class ninja.leaping.configurate.Types
-
- SYSTEM_LINE_SEPARATOR - Static variable in class ninja.leaping.configurate.loader.AbstractConfigurationLoader
-
- valueOf(String) - Static method in enum ninja.leaping.configurate.json.FieldValueSeparatorStyle
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ninja.leaping.configurate.loader.CommentHandlers
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ninja.leaping.configurate.loader.HeaderMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ninja.leaping.configurate.transformation.MoveStrategy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum ninja.leaping.configurate.json.FieldValueSeparatorStyle
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum ninja.leaping.configurate.loader.CommentHandlers
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum ninja.leaping.configurate.loader.HeaderMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum ninja.leaping.configurate.transformation.MoveStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- versionedBuilder() - Static method in class ninja.leaping.configurate.transformation.ConfigurationTransformation
-
This creates a builder for versioned transformations -- transformations that contain
- VersionedBuilder() - Constructor for class ninja.leaping.configurate.transformation.ConfigurationTransformation.VersionedBuilder
-
- visitPath(ConfigurationTransformation.NodePath, ConfigurationNode) - Method in interface ninja.leaping.configurate.transformation.TransformAction
-
Called at a certain path, with the node at that path