Package oracle.dbtools.plugin.api.types
Interface TypeQualifier.Builder<T>
- Type Parameters:
T- The type of the service that theTypeQualifiertargets
- Enclosing interface:
- TypeQualifier<T>
public static interface TypeQualifier.Builder<T>
Build
TypeQualifier instances- Author:
- cdivilly
-
Method Summary
Modifier and TypeMethodDescriptiondefault TypeQualifier.Builder<T>build()Produce a newTypeQualifierinstancedefault TypeQualifier.Builder<T>Change the matching mode toTypeQualifier.MatchingMode.EXACT_TYPEbooleanisEmpty()Determine if this Builder has any qualifiersmatchingMode(TypeQualifier.MatchingMode matchingMode) Configure how the type of the service is matchedAdd or replace aNamedqualifierMatch any type providing the specified servicequalifiers(Annotation... qualifiers) Deprecated.
-
Method Details
-
any
-
build
TypeQualifier<T> build()Produce a newTypeQualifierinstance- Returns:
TypeQualifierinstance
-
exactType
Change the matching mode toTypeQualifier.MatchingMode.EXACT_TYPE- Returns:
- self
-
isEmpty
boolean isEmpty()Determine if this Builder has any qualifiers- Returns:
- true if it does not have any qualifiers, false otherwise
-
matchingMode
Configure how the type of the service is matched- Parameters:
matchingMode- The matching mode- Returns:
- self
-
named
Add or replace aNamedqualifier- Parameters:
name- The name to match- Returns:
- self
-
provides
Match any type providing the specified service- Parameters:
service- The service to find implementations for- Returns:
- self
-
qualifiers
Deprecated.Add the specified qualifiers- Parameters:
qualifiers- TheQualifiers to add- Returns:
- self
-