Package org.refcodes.configuration
Interface Properties.PropertiesBuilder
-
- All Superinterfaces:
org.refcodes.structure.CanonicalMap
,org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
,org.refcodes.structure.CanonicalMap.MutableCanonicalMap
,org.refcodes.structure.Clearable
,org.refcodes.structure.Containable
,org.refcodes.mixin.DelimiterAccessor
,org.refcodes.structure.Dictionary<java.lang.String,T>
,org.refcodes.structure.Dictionary.MutableDictionary<java.lang.String,T>
,org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<java.lang.String,T,org.refcodes.structure.PathMap.PathMapBuilder<T>>
,org.refcodes.mixin.Dumpable
,org.refcodes.structure.Keys<java.lang.String,T>
,org.refcodes.structure.Keys.MutableKeys<java.lang.String,T>
,org.refcodes.structure.Keys.MutableValues<java.lang.String,T>
,java.util.Map<java.lang.String,T>
,org.refcodes.structure.PathMap<java.lang.String>
,org.refcodes.structure.PathMap.MutablePathMap<java.lang.String>
,org.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
,Properties
,Properties.MutableProperties
,org.refcodes.structure.PropertiesAccessorMixin
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin
,org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
,org.refcodes.mixin.TypeAccessor<java.lang.String>
- All Known Subinterfaces:
ProfileProperties.ProfilePropertiesBuilder
,ResourceProperties.ResourcePropertiesBuilder
,ScheduledResourceProperties.ScheduledResourcePropertiesBuilder
,StrictProperties.StrictPropertiesBuilder
- All Known Implementing Classes:
AbstractPropertiesBuilderDecorator
,AbstractResourcePropertiesBuilder
,AbstractResourcePropertiesBuilderDecorator
,JavaPropertiesBuilder
,JsonPropertiesBuilder
,PolyglotPropertiesBuilder
,PropertiesBuilderImpl
,ScheduledResourcePropertiesBuilderDecorator
,TomlPropertiesBuilder
,XmlPropertiesBuilder
,YamlPropertiesBuilder
- Enclosing interface:
- Properties
public static interface Properties.PropertiesBuilder extends org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, Properties.MutableProperties
The interfaceProperties.PropertiesBuilder
defines builder functionality on top of the properties .
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.structure.CanonicalMap
org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMap
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.DelimiterAccessor
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Dictionary
org.refcodes.structure.Dictionary.MutableDictionary<K extends java.lang.Object,V extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Dictionary.MutableDictionary
org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K extends java.lang.Object,V extends java.lang.Object,B extends org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.PathMap
org.refcodes.structure.PathMap.MutablePathMap<T extends java.lang.Object>, org.refcodes.structure.PathMap.PathMapBuilder<T extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.configuration.Properties
Properties.MutableProperties, Properties.PropertiesBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.structure.PropertiesAccessorMixin
org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T extends java.lang.Object>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
-
-
Field Summary
-
Fields inherited from interface org.refcodes.configuration.Properties
DEFAULT_COMMENT
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Properties
getIndexed(int aIndex)
default Properties
getIndexed(java.lang.String aPath, int aIndex)
default Properties.PropertiesBuilder
withInsert(java.lang.Object aObj)
default Properties.PropertiesBuilder
withInsert(java.lang.String aToPath, java.lang.Object aFrom, java.lang.String aFromPath)
default Properties.PropertiesBuilder
withInsert(java.lang.String aToPath, Properties aFrom, java.lang.String aFromPath)
Method to semantically emphasize that we support our own types.default Properties.PropertiesBuilder
withInsert(Properties aFrom)
Method to semantically emphasize that we support our own types.default Properties.PropertiesBuilder
withInsertFrom(java.lang.Object aFrom, java.lang.String aFromPath)
default Properties.PropertiesBuilder
withInsertFrom(Properties aFrom, java.lang.String aFromPath)
Method to semantically emphasize that we support our own types.default Properties.PropertiesBuilder
withInsertTo(java.lang.String aToPath, java.lang.Object aFrom)
default Properties.PropertiesBuilder
withInsertTo(java.lang.String aToPath, Properties aFrom)
Method to semantically emphasize that we support our own types.default Properties.PropertiesBuilder
withPut(java.lang.String aKey, java.lang.String aValue)
default Properties.PropertiesBuilder
withPut(org.refcodes.structure.Relation<java.lang.String,java.lang.String> aProperty)
default Properties.PropertiesBuilder
withPutBoolean(java.lang.String aKey, java.lang.Boolean aValue)
default Properties.PropertiesBuilder
withPutByte(java.lang.String aKey, java.lang.Byte aValue)
default Properties.PropertiesBuilder
withPutDouble(java.lang.String aKey, java.lang.Double aValue)
default Properties.PropertiesBuilder
withPutFloat(java.lang.String aKey, java.lang.Float aValue)
default Properties.PropertiesBuilder
withPutInteger(java.lang.String aKey, java.lang.Integer aValue)
default Properties.PropertiesBuilder
withPutLong(java.lang.String aKey, java.lang.Long aValue)
default Properties.PropertiesBuilder
withPutShort(java.lang.String aKey, java.lang.Short aValue)
default Properties.PropertiesBuilder
withRemoveFrom(java.lang.String aPath)
-
Methods inherited from interface org.refcodes.structure.CanonicalMap
toInstance, toInstance, toType, toType
-
Methods inherited from interface org.refcodes.structure.CanonicalMap.CanonicalMapBuilder
withInsert, withInsert, withInsertFrom, withInsertTo
-
Methods inherited from interface org.refcodes.structure.CanonicalMap.MutableCanonicalMap
insert, insert, insertFrom, insertTo, putAll, toDump, toSourceCode, toSourceCode
-
Methods inherited from interface org.refcodes.structure.PathMap
children, children, children, directories, directories, directories, directories, directories, fromExternalKey, get, get, getArray, getArray, getBoolean, getBoolean, getByte, getByte, getCharacter, getCharacter, getDouble, getDouble, getFloat, getFloat, getIndexes, getIndexes, getInteger, getInteger, getLong, getLong, getRootPath, getShort, getShort, hasChildren, hasChildren, hasChildren, hasIndexed, hasIndexed, hasParentPath, isArray, isArray, isArray, isArray, isArray, isChild, isChild, isChild, isDirectory, isDirectory, isDirectory, isDirectory, isIndexed, isIndexed, isPath, isRecord, isRecord, isRecord, isRecord, isRootPath, keySet, paths, paths, paths, paths, paths, queryPaths, records, records, records, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPath, toPath
-
Methods inherited from interface org.refcodes.structure.PathMap.MutablePathMap
insert, insert, insert, insert, insertFrom, insertFrom, insertTo, insertTo, put, putArray, putArray, remove, remove, removeAll, removeAll, removeFrom, removeFrom, removeFrom, removeFrom
-
Methods inherited from interface org.refcodes.structure.PathMap.PathMapBuilder
withInsert, withInsert, withInsertFrom, withInsertTo
-
Methods inherited from interface org.refcodes.configuration.Properties
getDelimiter, getType, query, query, queryFrom, queryTo, retrieve, retrieveFrom, retrieveFrom, retrieveFrom, retrieveFrom, retrieveTo, retrieveTo, retrieveTo, retrieveTo, toMap, toProperties, toPropertyPath
-
Methods inherited from interface org.refcodes.configuration.Properties.MutableProperties
containsValue, delete, delete, insert, insert, insertFrom, insertTo, put, putAll, putAll, putAll
-
Methods inherited from interface org.refcodes.structure.PropertiesAccessorMixin
asArray, asArray, asArray, asArray, asArray, asArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asBooleanArray, asByteArray, asByteArray, asByteArray, asByteArray, asByteArray, asByteArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asCharacterArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asDoubleArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asFloatArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asIntegerArray, asLongArray, asLongArray, asLongArray, asLongArray, asLongArray, asLongArray, asShortArray, asShortArray, asShortArray, asShortArray, asShortArray, asShortArray, containsKey, get, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getShort, getShort, getShort, use, useBoolean, useBoolean, useByte, useByte, useDouble, useDouble, useFloat, useFloat, useInteger, useInteger, useLong, useLong, useShort, useShort
-
-
-
-
Method Detail
-
withPut
default Properties.PropertiesBuilder withPut(java.lang.String aKey, java.lang.String aValue)
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<java.lang.String,T extends java.lang.Object,org.refcodes.structure.PathMap.PathMapBuilder<T extends java.lang.Object>>
- Specified by:
withPut
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
- Specified by:
withPut
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPut
default Properties.PropertiesBuilder withPut(org.refcodes.structure.Relation<java.lang.String,java.lang.String> aProperty)
- Specified by:
withPut
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPut
in interfaceorg.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<java.lang.String,T extends java.lang.Object,org.refcodes.structure.PathMap.PathMapBuilder<T extends java.lang.Object>>
- Specified by:
withPut
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
-
withPutInteger
default Properties.PropertiesBuilder withPutInteger(java.lang.String aKey, java.lang.Integer aValue)
- Specified by:
withPutInteger
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutInteger
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutShort
default Properties.PropertiesBuilder withPutShort(java.lang.String aKey, java.lang.Short aValue)
- Specified by:
withPutShort
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutShort
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutByte
default Properties.PropertiesBuilder withPutByte(java.lang.String aKey, java.lang.Byte aValue)
- Specified by:
withPutByte
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutByte
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutDouble
default Properties.PropertiesBuilder withPutDouble(java.lang.String aKey, java.lang.Double aValue)
- Specified by:
withPutDouble
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutDouble
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutFloat
default Properties.PropertiesBuilder withPutFloat(java.lang.String aKey, java.lang.Float aValue)
- Specified by:
withPutFloat
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutFloat
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutBoolean
default Properties.PropertiesBuilder withPutBoolean(java.lang.String aKey, java.lang.Boolean aValue)
- Specified by:
withPutBoolean
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutBoolean
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withPutLong
default Properties.PropertiesBuilder withPutLong(java.lang.String aKey, java.lang.Long aValue)
- Specified by:
withPutLong
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withPutLong
in interfaceorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<java.lang.String>
-
withInsert
default Properties.PropertiesBuilder withInsert(java.lang.Object aObj)
- Specified by:
withInsert
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withInsert
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
-
withInsertFrom
default Properties.PropertiesBuilder withInsertFrom(java.lang.Object aFrom, java.lang.String aFromPath)
- Specified by:
withInsertFrom
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withInsertFrom
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
-
withInsertTo
default Properties.PropertiesBuilder withInsertTo(java.lang.String aToPath, java.lang.Object aFrom)
- Specified by:
withInsertTo
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withInsertTo
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
-
withInsert
default Properties.PropertiesBuilder withInsert(java.lang.String aToPath, java.lang.Object aFrom, java.lang.String aFromPath)
- Specified by:
withInsert
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withInsert
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
-
withRemoveFrom
default Properties.PropertiesBuilder withRemoveFrom(java.lang.String aPath)
- Specified by:
withRemoveFrom
in interfaceorg.refcodes.structure.CanonicalMap.CanonicalMapBuilder
- Specified by:
withRemoveFrom
in interfaceorg.refcodes.structure.PathMap.PathMapBuilder<java.lang.String>
-
getIndexed
default Properties getIndexed(int aIndex)
- Specified by:
getIndexed
in interfaceorg.refcodes.structure.CanonicalMap
- Specified by:
getIndexed
in interfaceorg.refcodes.structure.PathMap<java.lang.String>
- Specified by:
getIndexed
in interfaceProperties
- Specified by:
getIndexed
in interfaceProperties.MutableProperties
-
getIndexed
default Properties getIndexed(java.lang.String aPath, int aIndex)
- Specified by:
getIndexed
in interfaceorg.refcodes.structure.CanonicalMap
- Specified by:
getIndexed
in interfaceorg.refcodes.structure.PathMap<java.lang.String>
- Specified by:
getIndexed
in interfaceProperties
- Specified by:
getIndexed
in interfaceProperties.MutableProperties
-
withInsert
default Properties.PropertiesBuilder withInsert(Properties aFrom)
Method to semantically emphasize that we support our own types. Actually delegates toPathMap.MutablePathMap.insert(Object)
.- Parameters:
aFrom
- TheProperties
which is to be inspected with the therein contained values being added with their according determined paths.- Returns:
- This instance as of the Builder-Pattern to apply succeeding operations.
- See Also:
PathMap.MutablePathMap.insert(Object)
-
withInsertFrom
default Properties.PropertiesBuilder withInsertFrom(Properties aFrom, java.lang.String aFromPath)
Method to semantically emphasize that we support our own types. Actually delegates toPathMap.MutablePathMap.insertFrom(Object, String)
.- Parameters:
aFrom
- TheProperties
which is to be inspected with the therein contained values being added with their according determined paths.aFromPath
- The path from where to start adding elements of the provided object.- Returns:
- This instance as of the Builder-Pattern to apply succeeding operations.
- See Also:
PathMap.MutablePathMap.insertFrom(Object, String)
-
withInsertTo
default Properties.PropertiesBuilder withInsertTo(java.lang.String aToPath, Properties aFrom)
Method to semantically emphasize that we support our own types. Actually delegates toPathMap.MutablePathMap.insertTo(String, Object)
.- Parameters:
aToPath
- The sub-path where to insert the object's introspected values to.aFrom
- TheProperties
which is to be inspected with the therein contained values being added with their according determined paths.- Returns:
- This instance as of the Builder-Pattern to apply succeeding operations.
- See Also:
PathMap.MutablePathMap.insertTo(String, Object)
-
withInsert
default Properties.PropertiesBuilder withInsert(java.lang.String aToPath, Properties aFrom, java.lang.String aFromPath)
Method to semantically emphasize that we support our own types. Actually delegates toPathMap.MutablePathMap.insert(String, Object, String)
.- Parameters:
aToPath
- The sub-path where to insert the object's introspected values to.aFrom
- TheProperties
which is to be inspected with the therein contained values being added with their according determined paths.aFromPath
- The path from where to start adding elements of the provided object.- Returns:
- This instance as of the Builder-Pattern to apply succeeding operations.
- See Also:
PathMap.MutablePathMap.insert(String, Object, String)
-
-