Class AbstractProfileConstraintProvider

    • Constructor Detail

      • AbstractProfileConstraintProvider

        public AbstractProfileConstraintProvider()
    • Method Detail

      • appliesTo

        public abstract boolean appliesTo​(java.lang.String url,
                                          java.lang.String version)
        Description copied from interface: ProfileConstraintProvider
        Indicates whether this constraint provider applies to a profile with the given url and version
        Specified by:
        appliesTo in interface ProfileConstraintProvider
        Parameters:
        url - the url
        version - the version
        Returns:
        true if this constraint provider applies to a profile with the given url and version, false otherwise
      • addRemovalPredicates

        protected void addRemovalPredicates​(java.util.List<java.util.function.Predicate<Constraint>> removalPredicates)
        Description copied from class: AbstractConstraintProvider
        Add zero or more removal predicates to the given list of removal predicates.
        Specified by:
        addRemovalPredicates in class AbstractConstraintProvider
        Parameters:
        removalPredicates - the list of removal predicates