Package org.forgerock.opendj.config
Interface DefaultBehaviorProviderVisitor<T,R,P>
- Type Parameters:
T
- The type of values represented by the default value provider.R
- The return type of this visitor's methods. UseVoid
for visitors that do not need to return results.P
- The type of the additional parameter to this visitor's methods. UseVoid
for visitors that do not need an additional parameter.
public interface DefaultBehaviorProviderVisitor<T,R,P>
A visitor of default behavior providers, in the style of the visitor design
pattern. Classes implementing this interface can query default behavior
providers in a type-safe manner when the kind of default behavior provider is
unknown at compile time. When a visitor is passed to a default behavior
provider's accept method, the corresponding visit method most applicable to
that default behavior provider is invoked.
-
Method Summary
Modifier and TypeMethodDescriptionVisit an absolute inherited default behavior provider.visitAlias
(AliasDefaultBehaviorProvider<T> d, P p) Visit an alias default behavior provider.Visit an defined default behavior provider.Visit a relative inherited default behavior provider.Visit an undefined default behavior provider.
-
Method Details
-
visitAbsoluteInherited
Visit an absolute inherited default behavior provider.- Parameters:
d
- The absolute inherited default behavior provider to visit.p
- A visitor specified parameter.- Returns:
- Returns a visitor specified result.
-
visitAlias
Visit an alias default behavior provider.- Parameters:
d
- The alias default behavior provider to visit.p
- A visitor specified parameter.- Returns:
- Returns a visitor specified result.
-
visitDefined
Visit an defined default behavior provider.- Parameters:
d
- The defined default behavior provider to visit.p
- A visitor specified parameter.- Returns:
- Returns a visitor specified result.
-
visitRelativeInherited
Visit a relative inherited default behavior provider.- Parameters:
d
- The relative inherited default behavior provider to visit.p
- A visitor specified parameter.- Returns:
- Returns a visitor specified result.
-
visitUndefined
Visit an undefined default behavior provider.- Parameters:
d
- The undefined default behavior provider to visit.p
- A visitor specified parameter.- Returns:
- Returns a visitor specified result.
-