org.hibernate.search.cfg.spi

## Class ParameterAnnotationsReader

- java.lang.Object
- - org.hibernate.search.cfg.spi.ParameterAnnotationsReader

-     public final class ParameterAnnotationsReader
      extends Object

  Helper to convert the org.hibernate.search.annotations.Parameter annotations.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Map<String,String>` | `toNewMutableMap(Parameter[] parameters)` Converts the Parameter key/value pairs in a map, and validates against conflicting duplicates.

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

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

- - ### Method Detail

    - #### toNewMutableMap

          public static Map<String,String> toNewMutableMap(Parameter[] parameters)

      Converts the Parameter key/value pairs in a map, and validates against conflicting duplicates. Any duplicate will cause to throw a SearchException
      Parameters:
        `parameters` -
      Returns:
        a new Map instance containing the key/value pairs
      Throws:
        `SearchException`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved