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 Description OptaPlannerJsonbConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.json.bind.JsonbConfig
createConfig()
static javax.json.bind.adapter.JsonbAdapter[]
getScoreJsonbAdapters()
-
-
-
Method Detail
-
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[])
.
-
-