Class SearchQueryUtil


  • @Deprecated(since="6.7",
                forRemoval=true)
    public final class SearchQueryUtil
    extends java.lang.Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 6.7, the class will be removed
    Utility class for CockpitNG SearchQuery related tasks
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static boolean areAllConditionsFiltering​(java.util.Collection<SearchQueryCondition> conditions)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 6.7, please use instead inline invocation conditions.stream().allMatch(SearchQueryCondition::isFilteringCondition)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • areAllConditionsFiltering

        @Deprecated(since="6.7",
                    forRemoval=true)
        public static boolean areAllConditionsFiltering​(java.util.Collection<SearchQueryCondition> conditions)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 6.7, please use instead inline invocation conditions.stream().allMatch(SearchQueryCondition::isFilteringCondition)
        Checks if all conditions in the collection have SearchQueryCondition.filteringCondition flag set to true
        Returns:
        false if at least one condition in the collection has filteringCondition flag set to false, true otherwise