Interface BridgesConfigurationContext
public interface BridgesConfigurationContext
-
Method Summary
Modifier and TypeMethodDescription<T> DefaultBridgeDefinitionStep<?, T> Define default bridges or binders for properties with the exact given type.<T> DefaultBinderDefinitionStep<?> strictSubTypesOf(Class<T> clazz) Define default binders for properties of a subtype of the given type.<T> DefaultBinderDefinitionStep<?> subTypesOf(Class<T> clazz) Define default binders for properties with the given type or a subtype.
-
Method Details
-
exactType
Define default bridges or binders for properties with the exact given type.Properties with a supertype or subtype of the given type will not match this definition.
- Type Parameters:
T- The raw type to match.- Parameters:
clazz- The raw type to match.- Returns:
- The initial step of a DSL where the default bridges can be defined for properties with a matching type.
-
subTypesOf
Define default binders for properties with the given type or a subtype.Properties with a supertype of the given type will not match this definition.
- Type Parameters:
T- The raw type to match.- Parameters:
clazz- The raw type to match.- Returns:
- The initial step of a DSL where the default bridges can be defined for properties with a matching type.
-
strictSubTypesOf
Define default binders for properties of a subtype of the given type.Properties with the given type or with a supertype of the given type will not match this definition.
Useful to define a binder for an abstract type that cannot be bound, but whose concrete subtypes can be bound, such as
Enum.class.- Type Parameters:
T- The raw type to match.- Parameters:
clazz- The raw type to match.- Returns:
- The initial step of a DSL where the default bridges can be defined for properties with a matching type.
-