Class OptaPlannerJsonbConfig

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

public class OptaPlannerJsonbConfig extends Object
This class adds all JSON-B adapters.
  • Constructor Details

    • OptaPlannerJsonbConfig

      public OptaPlannerJsonbConfig()
  • Method Details

    • createConfig

      public static jakarta.json.bind.JsonbConfig createConfig()
      Returns:
      never null, use it to create a Jsonb instance with JsonbBuilder.create(JsonbConfig).
    • getScoreJsonbAdapters

      public static jakarta.json.bind.adapter.JsonbAdapter[] getScoreJsonbAdapters()
      Returns:
      never null, use it to customize a JsonbConfig instance with JsonbConfig.withAdapters(JsonbAdapter[]).