Package com.enonic.xp.query.filter

## Class ValueFilter.Builder

- java.lang.Object
- - com.enonic.xp.query.filter.FieldFilter.Builder<ValueFilter.Builder>
  - - com.enonic.xp.query.filter.ValueFilter.Builder

- Enclosing class:
    ValueFilter

      public static class ValueFilter.Builder
      extends FieldFilter.Builder<ValueFilter.Builder>

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ValueFilter.Builder` | `addAllValues​(Collection<Value> values)` |
    `ValueFilter.Builder` | `addValue​(Value value)` |
    `ValueFilter.Builder` | `addValues​(Value... values)` |
    `ValueFilter.Builder` | `addValues​(String... values)` |
    `ValueFilter.Builder` | `addValues​(Collection<String> values)` |
    `ValueFilter` | `build()` |
    `B` | `setCache​(boolean cache)` |

    - ### Methods inherited from class com.enonic.xp.query.filter.FieldFilter.Builder

      `fieldName`

    - ### 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

    - #### addValue

          public ValueFilter.Builder addValue​(Value value)

    - #### addValues

          public ValueFilter.Builder addValues​(Value... values)

    - #### addValues

          public ValueFilter.Builder addValues​(String... values)

    - #### addValues

          public ValueFilter.Builder addValues​(Collection<String> values)

    - #### addAllValues

          public ValueFilter.Builder addAllValues​(Collection<Value> values)

    - #### build

          public ValueFilter build()

    - #### setCache

          public B setCache​(boolean cache)