Package com.enonic.xp.query.filter

## Class BooleanFilter.Builder

- java.lang.Object
- - com.enonic.xp.query.filter.BooleanFilter.Builder

- Enclosing class:
    BooleanFilter

      public static class BooleanFilter.Builder
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Builder()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `BooleanFilter` | `build()` |
    `BooleanFilter.Builder` | `must​(Filter filter)` |
    `BooleanFilter.Builder` | `mustNot​(Filter filter)` |
    `B` | `setCache​(boolean cache)` |
    `BooleanFilter.Builder` | `should​(Filter filter)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Builder

          public Builder()

  - ### Method Detail

    - #### must

          public BooleanFilter.Builder must​(Filter filter)

    - #### mustNot

          public BooleanFilter.Builder mustNot​(Filter filter)

    - #### should

          public BooleanFilter.Builder should​(Filter filter)

    - #### build

          public BooleanFilter build()

    - #### setCache

          public B setCache​(boolean cache)