Package com.enonic.xp.suggester

## Class SuggestionEntry.Builder<T extends SuggestionEntry.Builder,​OPTION extends SuggestionOption>

- java.lang.Object
- - com.enonic.xp.suggester.SuggestionEntry.Builder<T,​OPTION>

- Direct Known Subclasses:
    `TermSuggestionEntry.Builder`
  Enclosing class:
    SuggestionEntry<OPTION extends SuggestionOption>

      public abstract static class SuggestionEntry.Builder<T extends SuggestionEntry.Builder,​OPTION extends SuggestionOption>
      extends Object

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `addSuggestionOption​(OPTION suggestionOption)` |
    `abstract SuggestionEntry<OPTION>` | `build()` |
    `T` | `length​(Integer length)` |
    `T` | `offset​(Integer offset)` |
    `T` | `text​(String text)` |

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

    - #### text

          public T text​(String text)

    - #### offset

          public T offset​(Integer offset)

    - #### length

          public T length​(Integer length)

    - #### addSuggestionOption

          public T addSuggestionOption​(OPTION suggestionOption)

    - #### build

          public abstract SuggestionEntry<OPTION> build()