org.optaplanner.persistence.jsonb.api

## Class OptaPlannerJsonbConfig

- java.lang.Object
- - org.optaplanner.persistence.jsonb.api.OptaPlannerJsonbConfig

-     public class OptaPlannerJsonbConfig
      extends Object

  This class adds all JSON-B adapters.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OptaPlannerJsonbConfig()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static javax.json.bind.JsonbConfig` | `createConfig()`
    `static javax.json.bind.adapter.JsonbAdapter[]` | `getScoreJsonbAdapters()`

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

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

- - ### Constructor Detail

    - #### OptaPlannerJsonbConfig

          public OptaPlannerJsonbConfig()

  - ### Method Detail

    - #### createConfig

          public static javax.json.bind.JsonbConfig createConfig()

      Returns:
        never null, use it to create a `Jsonb` instance with `JsonbBuilder.create(JsonbConfig)`.

    - #### getScoreJsonbAdapters

          public static javax.json.bind.adapter.JsonbAdapter[] getScoreJsonbAdapters()

      Returns:
        never null, use it to customize a `JsonbConfig` instance with `JsonbConfig.withAdapters(JsonbAdapter[])`.

Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.