Top Description Inners Fields Constructors Methods
com.typesafe.config.impl

pack-priv final Class ResolveSource

extends Object
Class Inheritance
Imports
com.typesafe.config.ConfigException, com.typesafe.config.impl.AbstractConfigValue.NotPossibleToResolve

This class is the source for values for a substitution like ${foo}.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final ResolveSource.Node<Container>
pack-priv final AbstractConfigObject

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static ResolveSource.ResultWithPath
private static ResolveSource.ValueWithPath
private static ResolveSource.ValueWithPath
pack-priv ResolveSource.ResultWithPath
lookupSubst(ResolveContext context, SubstitutionExpression subst, int prefixLength)

pack-priv ResolveSource
private static ResolveSource.Node<Container>
pack-priv ResolveSource
pack-priv ResolveSource
pack-priv ResolveSource
private AbstractConfigObject
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

pathFromRootback to summary
pack-priv final ResolveSource.Node<Container> pathFromRoot
rootback to summary
pack-priv final AbstractConfigObject root

Constructor Detail

ResolveSourceback to summary
pack-priv ResolveSource(AbstractConfigObject root, ResolveSource.Node<Container> pathFromRoot)
ResolveSourceback to summary
pack-priv ResolveSource(AbstractConfigObject root)

Method Detail

findInObjectback to summary
private static ResolveSource.ResultWithPath findInObject(AbstractConfigObject obj, ResolveContext context, Path path) throws NotPossibleToResolve
findInObjectback to summary
private static ResolveSource.ValueWithPath findInObject(AbstractConfigObject obj, Path path)
findInObjectback to summary
private static ResolveSource.ValueWithPath findInObject(AbstractConfigObject obj, Path path, ResolveSource.Node<Container> parents)
lookupSubstback to summary
pack-priv ResolveSource.ResultWithPath lookupSubst(ResolveContext context, SubstitutionExpression subst, int prefixLength) throws NotPossibleToResolve
pushParentback to summary
pack-priv ResolveSource pushParent(Container parent)
replaceback to summary
private static ResolveSource.Node<Container> replace(ResolveSource.Node<Container> list, Container old, AbstractConfigValue replacement)
replaceCurrentParentback to summary
pack-priv ResolveSource replaceCurrentParent(Container old, Container replacement)
replaceWithinCurrentParentback to summary
pack-priv ResolveSource replaceWithinCurrentParent(AbstractConfigValue old, AbstractConfigValue replacement)
resetParentsback to summary
pack-priv ResolveSource resetParents()
rootMustBeObjback to summary
private AbstractConfigObject rootMustBeObj(Container value)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
com.typesafe.config.impl back to summary

pack-priv final Class ResolveSource.Node<T>

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final ResolveSource.Node<T>
pack-priv final T

Constructor Summary

AccessConstructor and Description
pack-priv
Node(T value, ResolveSource.Node<T> next)

pack-priv
Node(T value)

Method Summary

Modifier and TypeMethod and Description
pack-priv T
head()

pack-priv T
last()

pack-priv ResolveSource.Node<T>
prepend(T value)

pack-priv ResolveSource.Node<T>
pack-priv ResolveSource.Node<T>
tail()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

nextback to summary
pack-priv final ResolveSource.Node<T> next
valueback to summary
pack-priv final T value

Constructor Detail

Nodeback to summary
pack-priv Node(T value, ResolveSource.Node<T> next)
Nodeback to summary
pack-priv Node(T value)

Method Detail

headback to summary
pack-priv T head()
lastback to summary
pack-priv T last()
prependback to summary
pack-priv ResolveSource.Node<T> prepend(T value)
reverseback to summary
pack-priv ResolveSource.Node<T> reverse()
tailback to summary
pack-priv ResolveSource.Node<T> tail()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
com.typesafe.config.impl back to summary

pack-priv final Class ResolveSource.ResultWithPath

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final ResolveSource.Node<Container>
pack-priv final ResolveResult<? extends AbstractConfigValue>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

pathFromRootback to summary
pack-priv final ResolveSource.Node<Container> pathFromRoot
resultback to summary
pack-priv final ResolveResult<? extends AbstractConfigValue> result

Constructor Detail

ResultWithPathback to summary
pack-priv ResultWithPath(ResolveResult<? extends AbstractConfigValue> result, ResolveSource.Node<Container> pathFromRoot)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
com.typesafe.config.impl back to summary

pack-priv final Class ResolveSource.ValueWithPath

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final ResolveSource.Node<Container>
pack-priv final AbstractConfigValue

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

pathFromRootback to summary
pack-priv final ResolveSource.Node<Container> pathFromRoot
valueback to summary
pack-priv final AbstractConfigValue value

Constructor Detail

ValueWithPathback to summary
pack-priv ValueWithPath(AbstractConfigValue value, ResolveSource.Node<Container> pathFromRoot)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override