Class UnresolvedContextRefLocator
java.lang.Object
io.sundr.model.visitors.context.resolver.UnresolvedContextRefLocator
- All Implemented Interfaces:
Visitor<ContextRefBuilder>
Visitor that locates all unresolved ContextRef objects in a model.
Used for testing to verify that all ContextRef objects have been resolved.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UnresolvedContextRefLocatorintgetCount()booleanvoidreset()voidvisit(ContextRefBuilder fluent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.sundr.builder.Visitor
addRequirement, addRequirement, canVisit, getRequirement, getType, hasItem, hasVisitMethodMatching, order, visit
-
Constructor Details
-
UnresolvedContextRefLocator
public UnresolvedContextRefLocator()
-
-
Method Details
-
forType
-
visit
- Specified by:
visitin interfaceVisitor<ContextRefBuilder>
-
getUnresolvedContextRefs
-
getCount
public int getCount() -
reset
public void reset() -
hasUnresolvedContextRefs
public boolean hasUnresolvedContextRefs()
-