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 jakarta.json.bind.JsonbConfig
static jakarta.json.bind.adapter.JsonbAdapter[]
-
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 withJsonbBuilder.create(JsonbConfig)
.
-
getScoreJsonbAdapters
public static jakarta.json.bind.adapter.JsonbAdapter[] getScoreJsonbAdapters()- Returns:
- never null, use it to customize a
JsonbConfig
instance withJsonbConfig.withAdapters(JsonbAdapter[])
.
-