Class Container
- java.lang.Object
-
- io.quarkus.deployment.configuration.matching.Container
-
- Direct Known Subclasses:
FieldContainer
,MapContainer
public abstract class Container extends Object
A container for a configuration key path.
-
-
Constructor Summary
Constructors Constructor Description Container()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ClassDefinition
findEnclosingClass()
Find the enclosing class definition that will ultimately hold this value.Field
findField()
Find the field that will ultimately hold this value.abstract ClassDefinition.ClassMember
getClassMember()
Find the enclosing class member.String
getCombinedName()
Get the combined name of this item.(package private) abstract StringBuilder
getCombinedName(StringBuilder sb)
abstract Container
getParent()
Get the parent container, ornull
if the container is a root.String
getPropertyName()
(package private) abstract StringBuilder
getPropertyName(StringBuilder sb)
-
-
-
Method Detail
-
getParent
public abstract Container getParent()
Get the parent container, ornull
if the container is a root. Presently only field containers may be roots.- Returns:
- the parent container
-
findField
public final Field findField()
Find the field that will ultimately hold this value.- Returns:
- the field (must not be
null
)
-
findEnclosingClass
public final ClassDefinition findEnclosingClass()
Find the enclosing class definition that will ultimately hold this value.- Returns:
- the class definition (must not be
null
)
-
getClassMember
public abstract ClassDefinition.ClassMember getClassMember()
Find the enclosing class member.- Returns:
- the enclosing class member
-
getCombinedName
public final String getCombinedName()
Get the combined name of this item.- Returns:
- the combined name (must not be
null
)
-
getCombinedName
abstract StringBuilder getCombinedName(StringBuilder sb)
-
getPropertyName
public final String getPropertyName()
-
getPropertyName
abstract StringBuilder getPropertyName(StringBuilder sb)
-
-