public boolean matches(AuditEvent event) { return Filters.matches(event, includeEventFilters, excludeEventFilters); }
public boolean matches(CamelContextService contextService) { return Filters.matches(contextService, includeContextFilters, excludeContextFilters); }
public boolean matches(AuditEvent event) { return Filters.matches(event, includeEndpointFilters, excludeEndpointFilters); }
/** * Return true if the value matches an include filter if specified and does not match an exclude filter */ public static <T> boolean matches(T value, List<? extends Filter<T>> includeFilters, List<? extends Filter<T>> excludeFilters) { if (matches(value, excludeFilters)) { return false; } return includeFilters == null || includeFilters.isEmpty() || Filters.matches(value, includeFilters); }