Interface ConstraintProvider
- 
- All Known Subinterfaces:
 ModelConstraintProvider,ProfileConstraintProvider
- All Known Implementing Classes:
 AbstractConstraintProvider,AbstractModelConstraintProvider,AbstractProfileConstraintProvider
public interface ConstraintProviderAn interface used to remove and/or add to the constraints used in a specific context 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Constraint>getConstraints()Get the list of constraints for this constraint provider.List<Predicate<Constraint>>getRemovalPredicates()Get the list of removal predicates for this constraint provider.static <T extends ConstraintProvider>
List<T>providers(Class<T> providerClass)Get the list of constraint provider instances of the given type from the ServiceLoader. 
 - 
 
- 
- 
Method Detail
- 
getRemovalPredicates
List<Predicate<Constraint>> getRemovalPredicates()
Get the list of removal predicates for this constraint provider.- Returns:
 - the list of removal predicates for this constraint provider
 
 
- 
getConstraints
List<Constraint> getConstraints()
Get the list of constraints for this constraint provider.- Returns:
 - the list of constraints for this constraint provider
 
 
- 
providers
static <T extends ConstraintProvider> List<T> providers(Class<T> providerClass)
Get the list of constraint provider instances of the given type from the ServiceLoader.- Type Parameters:
 T- the type of provider- Parameters:
 providerClass- the provider class- Returns:
 - the list of constraint provider instances of the given type from the ServiceLoader
 
 
 - 
 
 -