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 ClassDefinitionfindEnclosingClass()Find the enclosing class definition that will ultimately hold this value.FieldfindField()Find the field that will ultimately hold this value.abstract ClassDefinition.ClassMembergetClassMember()Find the enclosing class member.StringgetCombinedName()Get the combined name of this item.(package private) abstract StringBuildergetCombinedName(StringBuilder sb)abstract ContainergetParent()Get the parent container, ornullif the container is a root.StringgetPropertyName()(package private) abstract StringBuildergetPropertyName(StringBuilder sb)
-
-
-
Method Detail
-
getParent
public abstract Container getParent()
Get the parent container, ornullif 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)
-
-