Package org.jdbi.v3.json
Class JsonConfig
- java.lang.Object
-
- org.jdbi.v3.json.JsonConfig
-
- All Implemented Interfaces:
JdbiConfig<JsonConfig>
public class JsonConfig extends java.lang.Object implements JdbiConfig<JsonConfig>
-
-
Field Summary
Fields Modifier and Type Field Description private JsonMappermapper
-
Constructor Summary
Constructors Modifier Constructor Description JsonConfig()privateJsonConfig(JsonConfig other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonConfigcreateCopy()Returns a copy of this configuration object.JsonMappergetJsonMapper()JsonConfigsetJsonMapper(JsonMapper jsonMapper)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jdbi.v3.core.config.JdbiConfig
setRegistry
-
-
-
-
Field Detail
-
mapper
private JsonMapper mapper
-
-
Constructor Detail
-
JsonConfig
public JsonConfig()
-
JsonConfig
private JsonConfig(JsonConfig other)
-
-
Method Detail
-
setJsonMapper
public JsonConfig setJsonMapper(JsonMapper jsonMapper)
-
getJsonMapper
public JsonMapper getJsonMapper()
-
createCopy
public JsonConfig createCopy()
Description copied from interface:JdbiConfigReturns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.- Specified by:
createCopyin interfaceJdbiConfig<JsonConfig>- Returns:
- a copy of this configuration object.
-
-