Interface ConstraintProvider

    • Method Detail

      • getRemovalPredicates

        java.util.List<java.util.function.Predicate<Constraint>> getRemovalPredicates()
        Get the list of removal predicates for this constraint provider.
        Returns:
        the list of removal predicates for this constraint provider
      • getConstraints

        java.util.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> java.util.List<T> providers​(java.lang.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