package impl
- Alphabetic
- Public
- Protected
Type Members
- abstract class AbstractConfigNode extends ConfigNode
- abstract class AbstractConfigNodeValue extends AbstractConfigNode
- abstract class AbstractConfigObject extends AbstractConfigValue with ConfigObject with Container
- abstract class AbstractConfigValue extends ConfigValue with MergeableValue
- final class BadMap[K, V] extends AnyRef
- trait ClassLoaderLike extends AnyRef
To workaround missing implementation in Scala.js
- final class ConfigBoolean extends AbstractConfigValue with Serializable
- Annotations
- @SerialVersionUID()
- final class ConfigConcatenation extends AbstractConfigValue with Unmergeable with Container
- final class ConfigDelayedMerge extends AbstractConfigValue with Unmergeable with ReplaceableMergeStack
- final class ConfigDelayedMergeObject extends AbstractConfigObject with Unmergeable with ReplaceableMergeStack
- final class ConfigDouble extends ConfigNumber with Serializable
- Annotations
- @SerialVersionUID()
- final class ConfigIncludeKind extends Enum[ConfigIncludeKind]
- final class ConfigInt extends ConfigNumber with Serializable
- Annotations
- @SerialVersionUID()
- final class ConfigLong extends ConfigNumber with Serializable
- Annotations
- @SerialVersionUID()
- final class ConfigNodeArray extends ConfigNodeComplexValue
- final class ConfigNodeComment extends ConfigNodeSingleToken
- abstract class ConfigNodeComplexValue extends AbstractConfigNodeValue
- final class ConfigNodeConcatenation extends ConfigNodeComplexValue
- final class ConfigNodeField extends AbstractConfigNode
- final class ConfigNodeInclude extends AbstractConfigNode
- final class ConfigNodeObject extends ConfigNodeComplexValue
- final class ConfigNodePath extends AbstractConfigNode
- final class ConfigNodeRoot extends ConfigNodeComplexValue
- final class ConfigNodeSimpleValue extends AbstractConfigNodeValue
- class ConfigNodeSingleToken extends AbstractConfigNode
- final class ConfigNull extends AbstractConfigValue with Serializable
This exists because sometimes null is not the same as missing.
This exists because sometimes null is not the same as missing. Specifically, if a value is set to null we can give a better error message (indicating where it was set to null) in case someone asks for the value. Also, null overrides values set "earlier" in the search path, while missing values do not.
- Annotations
- @SerialVersionUID()
- abstract class ConfigNumber extends AbstractConfigValue with Serializable
- Annotations
- @SerialVersionUID()
- final class ConfigReference extends AbstractConfigValue with Unmergeable
ConfigReference replaces ConfigReference (the older class kept for back compat) and represents the ${} substitution syntax.
ConfigReference replaces ConfigReference (the older class kept for back compat) and represents the ${} substitution syntax. It can resolve to any kind of value.
- abstract class ConfigString extends AbstractConfigValue with Serializable
- Annotations
- @SerialVersionUID()
- trait Container extends ConfigValue
An AbstractConfigValue which contains other values.
An AbstractConfigValue which contains other values. Java has no way to express "this has to be an AbstractConfigValue also" other than making AbstractConfigValue an interface which would be aggravating. But we can say we are a ConfigValue.
- final class FromMapMode extends Enum[FromMapMode]
- trait FullIncluder extends ConfigIncluder with ConfigIncluderFile with ConfigIncluderURL with ConfigIncluderClasspath
- final class MemoKey extends AnyRef
The key used to memoize already-traversed nodes when resolving substitutions
- trait MergeableValue extends ConfigMergeable
- final class OriginType extends Enum[OriginType]
- abstract class Parseable extends ConfigParseable
- final class Path extends AnyRef
- final class PathBuilder extends AnyRef
- class PlatformClassLoader extends ClassLoaderLike
To workaround missing implementation in Scala.js
- class PlatformThread extends ThreadLike
To workaround missing implementation in Scala.js
- class PlatformUri extends UriLike
To workaround missing implementation in Scala.js
- trait ReplaceableMergeStack extends Container
Implemented by a merge stack (ConfigDelayedMerge, ConfigDelayedMergeObject) that replaces itself during substitution resolution in order to implement "look backwards only" semantics.
- final class ResolveMemos extends AnyRef
This exists because we have to memoize resolved substitutions as we go through the config tree; otherwise we could end up creating multiple copies of values or whole trees of values as we follow chains of substitutions.
- final class ResolveResult[V <: AbstractConfigValue] extends AnyRef
- final class ResolveSource extends AnyRef
- class ResolveStatus extends Enum[ResolveStatus]
Status of substitution resolution.
- class SerializedConfigValue extends AbstractConfigValue with Externalizable
- Annotations
- @SerialVersionUID()
- final class SerializedField extends Enum[SerializedField]
- final class SerializedValueType extends Enum[SerializedValueType]
- final class SimpleConfig extends Config with MergeableValue with Serializable
- Annotations
- @SerialVersionUID()
- final class SimpleConfigDocument extends ConfigDocument
- final class SimpleConfigList extends AbstractConfigValue with ConfigList with Container with Serializable
- Annotations
- @SerialVersionUID()
- final class SimpleConfigObject extends AbstractConfigObject with Serializable
- Annotations
- @SerialVersionUID()
- final class SimpleConfigOrigin extends ConfigOrigin
- class SimpleIncludeContext extends ConfigIncludeContext
- class SimpleIncluder extends FullIncluder
- final class SubstitutionExpression extends AnyRef
- trait ThreadLike extends AnyRef
To workaround missing implementation in Scala.js
- class Token extends AnyRef
- final class TokenType extends Enum[TokenType]
- trait Unmergeable extends AnyRef
Interface that tags a ConfigValue that is not mergeable until after substitutions are resolved.
Interface that tags a ConfigValue that is not mergeable until after substitutions are resolved. Basically these are special ConfigValue that never appear in a resolved tree, like
ConfigSubstitutionand ConfigDelayedMerge. - trait UriLike extends AnyRef
To workaround missing implementation in Scala.js
Value Members
- object AbstractConfigObject
- object AbstractConfigValue
Trying very hard to avoid a parent reference in config values; when you have a tree like this, the availability of parent() tends to result in a lot of improperly-factored and non-modular code.
Trying very hard to avoid a parent reference in config values; when you have a tree like this, the availability of parent() tends to result in a lot of improperly-factored and non-modular code. Please don't add parent().
- object BadMap
A terrible Map that isn't as expensive as HashMap to copy and add one item to.
A terrible Map that isn't as expensive as HashMap to copy and add one item to. Please write something real if you see this and get cranky.
- object ConfigBeanImpl
Internal implementation detail, not ABI stable, do not touch.
Internal implementation detail, not ABI stable, do not touch. For use only by the org.ekrich.config package.
- object ConfigConcatenation
A ConfigConcatenation represents a list of values to be concatenated (see the spec).
A ConfigConcatenation represents a list of values to be concatenated (see the spec). It only has to exist if at least one value is an unresolved substitution, otherwise we could go ahead and collapse the list into a single value.
Right now this is always a list of strings and ${} references, but in the future should support a list of ConfigList. We may also support concatenations of objects, but ConfigDelayedMerge should be used for that since a concat of objects really will merge, not concatenate.
- object ConfigDelayedMerge
The issue here is that we want to first merge our stack of config files, and then we want to evaluate substitutions.
The issue here is that we want to first merge our stack of config files, and then we want to evaluate substitutions. But if two substitutions both expand to an object, we might need to merge those two objects. Thus, we can't ever "override" a substitution when we do a merge; instead we have to save the stack of values that should be merged, and resolve the merge when we evaluate substitutions.
- object ConfigDelayedMergeObject
- object ConfigDocumentParser
- object ConfigImpl
Internal implementation detail, not ABI stable, do not touch.
Internal implementation detail, not ABI stable, do not touch. For use only by the org.ekrich.config package.
- object ConfigImplUtil
Internal implementation detail, not ABI stable, do not touch.
Internal implementation detail, not ABI stable, do not touch. For use only by the org.ekrich.config package.
- object ConfigIncludeKind extends Serializable
- object ConfigNumber extends Serializable
- Annotations
- @SerialVersionUID()
- object ConfigParser
- object ConfigString extends Serializable
- Annotations
- @SerialVersionUID()
- object DefaultTransformer
Default automatic type transformations.
- object FromMapMode extends Serializable
- object OriginType extends Serializable
- object Parseable
Internal implementation detail, not ABI stable, do not touch.
Internal implementation detail, not ABI stable, do not touch. For use only by the org.ekrich.config package. The point of this class is to avoid "propagating" each overload on "thing which can be parsed" through multiple interfaces. Most interfaces can have just one overload that takes a Parseable. Also it's used as an abstract "resource handle" in the ConfigIncluder interface.
- object Path
- object PathParser
- object PropertiesParser
- object ResolveContext
- object ResolveResult
- object ResolveSource
This class is the source for values for a substitution like
${foo}. - object ResolveStatus extends Serializable
- object SerializedConfigValue extends Serializable
Deliberately shoving all the serialization code into this class instead of doing it OO-style with each subclass.
Deliberately shoving all the serialization code into this class instead of doing it OO-style with each subclass. Seems better to have it all in one place. This class implements a lame serialization format that supports skipping unknown fields, so it's moderately more extensible than the default Java serialization format.
- Annotations
- @SerialVersionUID()
- object SerializedField extends Serializable
- object SerializedValueType extends Serializable
- object SimpleConfig extends Serializable
One thing to keep in mind in the future: as Collection-like APIs are added here, including iterators or size() or anything, they should be consistent with a one-level java.util.Map from paths to non-null values.
One thing to keep in mind in the future: as Collection-like APIs are added here, including iterators or size() or anything, they should be consistent with a one-level java.util.Map from paths to non-null values. Null values are not "in" the map.
- Annotations
- @SerialVersionUID()
- object SimpleConfigList extends Serializable
- Annotations
- @SerialVersionUID()
- object SimpleConfigObject extends Serializable
- Annotations
- @SerialVersionUID()
- object SimpleConfigOrigin
- object SimpleIncluder
- object Token
- object TokenType extends Serializable
- object Tokenizer
- object Tokens