Package com.enonic.xp.suggester

## Class Suggestion.Builder<T extends Suggestion.Builder,​ENTRY extends SuggestionEntry>

- java.lang.Object
- - com.enonic.xp.suggester.Suggestion.Builder<T,​ENTRY>

- Direct Known Subclasses:
    `TermSuggestion.Builder`
  Enclosing class:
    Suggestion<ENTRY extends SuggestionEntry>

      public abstract static class Suggestion.Builder<T extends Suggestion.Builder,​ENTRY extends SuggestionEntry>
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Builder​(String name)` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `addSuggestionEntry​(ENTRY suggestionEntry)` |
    `abstract Suggestion<ENTRY>` | `build()` |

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

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

- - ### Constructor Detail

    - #### Builder

          public Builder​(String name)

  - ### Method Detail

    - #### addSuggestionEntry

          public T addSuggestionEntry​(ENTRY suggestionEntry)

    - #### build

          public abstract Suggestion<ENTRY> build()