Interface CMSRestrictionEvaluator<T extends AbstractRestrictionModel>

    • Method Detail

      • evaluate

        boolean evaluate​(T restriction,
                         RestrictionData context)
        Main method that evaluates given restriction.
        Parameters:
        restriction - given restriction
        context - all context information required to evaluate restriction
        Returns:
        true when restriction is matched otherwise false