- ch.jalu.configme - package ch.jalu.configme
-
- ch.jalu.configme.beanmapper - package ch.jalu.configme.beanmapper
-
- ch.jalu.configme.beanmapper.leafproperties - package ch.jalu.configme.beanmapper.leafproperties
-
- ch.jalu.configme.beanmapper.transformer - package ch.jalu.configme.beanmapper.transformer
-
- ch.jalu.configme.configurationdata - package ch.jalu.configme.configurationdata
-
- ch.jalu.configme.exception - package ch.jalu.configme.exception
-
- ch.jalu.configme.migration - package ch.jalu.configme.migration
-
- ch.jalu.configme.properties - package ch.jalu.configme.properties
-
- ch.jalu.configme.resource - package ch.jalu.configme.resource
-
- ch.jalu.configme.utils - package ch.jalu.configme.utils
-
- checkAndMigrate(PropertyResource, List<Property<?>>) - Method in interface ch.jalu.configme.migration.MigrationService
-
Checks the settings and perform any necessary migrations.
- checkAndMigrate(PropertyResource, List<Property<?>>) - Method in class ch.jalu.configme.migration.PlainMigrationService
-
- collectData(Class<? extends SettingsHolder>...) - Static method in class ch.jalu.configme.configurationdata.ConfigurationDataBuilder
-
Collects all properties and comment data from the provided classes.
- collectData(Iterable<Class<? extends SettingsHolder>>) - Static method in class ch.jalu.configme.configurationdata.ConfigurationDataBuilder
-
Collects all properties and comment data from the provided classes.
- CollectionUtils - Class in ch.jalu.configme.utils
-
Collection utils.
- collectPropertiesFromBean(Object, String) - Method in class ch.jalu.configme.beanmapper.leafproperties.LeafPropertiesGenerator.EntryBuilder
-
Processes a bean class and handles all of its writable properties.
- collectPropertyEntries(Object, String) - Method in class ch.jalu.configme.beanmapper.leafproperties.LeafPropertiesGenerator.EntryBuilder
-
Creates property entries for the provided value, recursively for beans.
- collectWritableFields(Class<?>) - Method in class ch.jalu.configme.beanmapper.BeanDescriptionFactory
-
Returns all properties of the given bean class for which there exists a getter and setter.
- Comment - Annotation Type in ch.jalu.configme
-
Comment for properties which are also included in the YAML file upon saving.
- comments - Variable in class ch.jalu.configme.resource.PropertyPathTraverser.PathElement
-
- ConfigMeException - Exception in ch.jalu.configme.exception
-
ConfigMe exception.
- ConfigMeException(String) - Constructor for exception ch.jalu.configme.exception.ConfigMeException
-
- ConfigMeException(String, Throwable) - Constructor for exception ch.jalu.configme.exception.ConfigMeException
-
- ConfigMeMapper - Class in ch.jalu.configme.beanmapper
-
Mapper configured with defaults as singleton.
- ConfigMeMapperException - Exception in ch.jalu.configme.beanmapper
-
Exception during a bean mapping process.
- ConfigMeMapperException(String) - Constructor for exception ch.jalu.configme.beanmapper.ConfigMeMapperException
-
Constructor.
- ConfigMeMapperException(String, Throwable) - Constructor for exception ch.jalu.configme.beanmapper.ConfigMeMapperException
-
Constructor.
- ConfigurationData - Class in ch.jalu.configme.configurationdata
-
Contains information about the available properties and their associated comments.
- ConfigurationData(List<? extends Property<?>>) - Constructor for class ch.jalu.configme.configurationdata.ConfigurationData
-
- ConfigurationData(List<? extends Property<?>>, Map<String, String[]>) - Constructor for class ch.jalu.configme.configurationdata.ConfigurationData
-
- configurationData - Variable in class ch.jalu.configme.SettingsManager
-
- ConfigurationDataBuilder - Class in ch.jalu.configme.configurationdata
-
Utility class responsible for retrieving all
Property fields
from
SettingsHolder implementations via reflection.
- contains(String) - Method in interface ch.jalu.configme.resource.PropertyResource
-
Returns whether a value is present for the given path.
- contains(String) - Method in class ch.jalu.configme.resource.YamlFileResource
-
- convert(PropertyDescriptor) - Method in class ch.jalu.configme.beanmapper.BeanDescriptionFactory
-
- convertPropertiesToExportableTypes(List<Property<?>>) - Method in class ch.jalu.configme.resource.YamlFileResource
-
Converts the property entries to exportable "leaf" properties.
- convertToBean(String, PropertyResource, Class<T>) - Method in class ch.jalu.configme.beanmapper.Mapper
-
Converts the value in the property resource at the given path to the provided beans class.
- convertToBean(TypeInformation<T>, Object, MappingContext) - Method in class ch.jalu.configme.beanmapper.Mapper
-
Converts the provided value to the requested JavaBeans class if possible.
- create() - Method in class ch.jalu.configme.configurationdata.PropertyListBuilder
-
- createChild(TypeInformation<?>) - Method in class ch.jalu.configme.beanmapper.MappingContext
-
- createConstantProperty(Object, String) - Method in class ch.jalu.configme.beanmapper.leafproperties.LeafPropertiesGenerator.EntryBuilder
-
- createFileIfNotExists(File) - Static method in class ch.jalu.configme.utils.Utils
-
Attempts to create the given file if it doesn't exist.
- createWithProperties(PropertyResource, MigrationService, Collection<? extends Property<?>>) - Static method in class ch.jalu.configme.SettingsManager
-
Convenience method for creating a settings manager for the given collection of properties.
- createWithYamlFile(File, Class<? extends SettingsHolder>...) - Static method in class ch.jalu.configme.SettingsManager
-
Convenience method for creating a settings manager for the provided YAML file with defaults.
- generate(BeanProperty<B>, B) - Method in class ch.jalu.configme.beanmapper.leafproperties.LeafPropertiesGenerator
-
Generates a list of regular property objects for the given bean's data.
- getBaseProperty() - Method in class ch.jalu.configme.properties.OptionalProperty
-
Returns the underlying property used to retrieve the value of the optional.
- getBoolean(String) - Method in interface ch.jalu.configme.resource.PropertyResource
-
Returns the value of the given path as a boolean if available.
- getBoolean(String) - Method in class ch.jalu.configme.resource.YamlFileResource
-
- getClazz() - Method in class ch.jalu.configme.utils.TypeInformation
-
- getCommentsForSection(String) - Method in class ch.jalu.configme.configurationdata.ConfigurationData
-
- getDefaultTransformers() - Static method in class ch.jalu.configme.beanmapper.transformer.Transformers
-
- getDefaultValue() - Method in class ch.jalu.configme.properties.Property
-
Returns the default value of the property.
- getDouble(String) - Method in interface ch.jalu.configme.resource.PropertyResource
-
Returns the value of the given path as a double if available.
- getDouble(String) - Method in class ch.jalu.configme.resource.YamlFileResource
-
- getFromResource(PropertyResource) - Method in class ch.jalu.configme.properties.BeanProperty
-
- getFromResource(PropertyResource) - Method in class ch.jalu.configme.properties.BooleanProperty
-
- getFromResource(PropertyResource) - Method in class ch.jalu.configme.properties.EnumProperty
-
- getFromResource(PropertyResource) - Method in class ch.jalu.configme.properties.IntegerProperty
-
- getFromResource(PropertyResource) - Method in class ch.jalu.configme.properties.LowercaseStringListProperty
-
- getFromResource(PropertyResource) - Method in class ch.jalu.configme.properties.OptionalProperty
-
- getFromResource(PropertyResource) - Method in class ch.jalu.configme.properties.Property
-
- getFromResource(PropertyResource) - Method in class ch.jalu.configme.properties.StringListProperty
-
- getFromResource(PropertyResource) - Method in class ch.jalu.configme.properties.StringProperty
-
- getGenericClass(int) - Method in class ch.jalu.configme.utils.TypeInformation
-
- getInt(String) - Method in interface ch.jalu.configme.resource.PropertyResource
-
Returns the value of the given path as an integer if available.
- getInt(String) - Method in class ch.jalu.configme.resource.YamlFileResource
-
- getLevel() - Method in class ch.jalu.configme.beanmapper.MappingContext
-
- getList(String) - Method in interface ch.jalu.configme.resource.PropertyResource
-
Returns the value of the given path as a list if available.
- getList(String) - Method in class ch.jalu.configme.resource.YamlFileResource
-
- getName() - Method in class ch.jalu.configme.beanmapper.BeanPropertyDescription
-
Returns the name of the property for the purpose of reading from and writing to a property resource.
- getObject(String) - Method in interface ch.jalu.configme.resource.PropertyReader
-
Returns the value for the given path, or null if not present.
- getObject(String) - Method in interface ch.jalu.configme.resource.PropertyResource
-
Returns the object at the given path, or null if absent.
- getObject(String) - Method in class ch.jalu.configme.resource.YamlFileReader
-
- getObject(String) - Method in class ch.jalu.configme.resource.YamlFileResource
-
- getParentType() - Method in class ch.jalu.configme.beanmapper.MappingContext
-
- getPath() - Method in class ch.jalu.configme.properties.Property
-
Returns the property path.
- getPathElements(Property<?>) - Method in class ch.jalu.configme.resource.PropertyPathTraverser
-
Returns all path elements for the given property that have not been traversed yet.
- getProperties() - Method in class ch.jalu.configme.configurationdata.ConfigurationData
-
- getProperty(Property<T>) - Method in class ch.jalu.configme.SettingsManager
-
Gets the given property from the configuration.
- getPropertyName(PropertyDescriptor) - Method in class ch.jalu.configme.beanmapper.BeanDescriptionFactory
-
- getPropertyValue(TypeInformation, Object, MappingContext) - Method in class ch.jalu.configme.beanmapper.Mapper
-
Returns a value of type clazz based on the provided value if possible.
- getRange(List<T>, int) - Static method in class ch.jalu.configme.utils.CollectionUtils
-
Gets all elements from a list starting from the given index.
- getSimpleYaml() - Method in class ch.jalu.configme.resource.YamlFileResource
-
Returns a YAML instance set to export values with the default style.
- getSingleQuoteYaml() - Method in class ch.jalu.configme.resource.YamlFileResource
-
Returns a YAML instance set to export values with single quotes.
- getSingleton() - Static method in class ch.jalu.configme.beanmapper.ConfigMeMapper
-
- getString(String) - Method in interface ch.jalu.configme.resource.PropertyResource
-
Returns the value of the given path as a String if available.
- getString(String) - Method in class ch.jalu.configme.resource.YamlFileResource
-
- getTypedObject(String, Class<T>) - Method in interface ch.jalu.configme.resource.PropertyReader
-
Returns the value for the given path in a typed manner.
- getTypedObject(String, Class<T>) - Method in class ch.jalu.configme.resource.YamlFileReader
-
- getTypeInfo(PropertyDescriptor) - Method in class ch.jalu.configme.beanmapper.BeanDescriptionFactory
-
- getTypeInformation() - Method in class ch.jalu.configme.beanmapper.BeanPropertyDescription
-
- getValue(Object) - Method in class ch.jalu.configme.beanmapper.BeanPropertyDescription
-
Returns the value of the property for the given bean.
- getValue(PropertyResource) - Method in class ch.jalu.configme.properties.Property
-
Gets the property value from the given resource and falls back to the default value if not present.
- getWritableProperties(Class<?>) - Method in class ch.jalu.configme.beanmapper.Mapper
-
Returns the properties of the given bean class that need to be considered when constructing objects.
- getWritableProperties(Class<?>) - Method in class ch.jalu.configme.properties.BeanProperty
-
Returns the properties of the bean class to consider while creating the object.