Class OptaPlannerJsonbConfig
java.lang.Object
org.optaplanner.persistence.jsonb.api.OptaPlannerJsonbConfig
This class adds all JSON-B adapters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic javax.json.bind.JsonbConfig
static javax.json.bind.adapter.JsonbAdapter[]
-
Constructor Details
-
OptaPlannerJsonbConfig
public OptaPlannerJsonbConfig()
-
-
Method Details
-
createConfig
public static javax.json.bind.JsonbConfig createConfig()- Returns:
- never null, use it to create a
Jsonb
instance withJsonbBuilder.create(JsonbConfig)
.
-
getScoreJsonbAdapters
public static javax.json.bind.adapter.JsonbAdapter[] getScoreJsonbAdapters()- Returns:
- never null, use it to customize a
JsonbConfig
instance withJsonbConfig.withAdapters(JsonbAdapter[])
.
-