public final class ConfigMapperFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigMapperFactory.Builder
Builds
ConfigMapperFactory . |
Modifier and Type | Method and Description |
---|---|
static ConfigMapperFactory.Builder |
builder()
Creates a
ConfigMapperFactory.Builder to build ConfigMapperFactory . |
ConfigMapper |
createConfigMapper()
Creates a
ConfigMapper to maps org.embulk.config.ConfigSource into a task-defining interface that inherits Task . |
TaskMapper |
createTaskMapper()
Creates a
TaskMapper to maps org.embulk.config.TaskSource into a task-defining interface that inherits Task . |
static ConfigMapperFactory |
with(Module... modules)
Creates a
ConfigMapperFactory with required and specified Jackson Module s. |
static ConfigMapperFactory |
with(Validator validator,
Module... modules)
|
static ConfigMapperFactory |
withDefault()
Creates a
ConfigMapperFactory with required and default Jackson Module s. |
public static ConfigMapperFactory.Builder builder()
ConfigMapperFactory.Builder
to build ConfigMapperFactory
.public static ConfigMapperFactory with(Validator validator, Module... modules)
public static ConfigMapperFactory with(Module... modules)
ConfigMapperFactory
with required and specified Jackson Module
s.public static ConfigMapperFactory withDefault()
ConfigMapperFactory
with required and default Jackson Module
s.public ConfigMapper createConfigMapper()
ConfigMapper
to maps org.embulk.config.ConfigSource
into a task-defining interface that inherits Task
.public TaskMapper createTaskMapper()
TaskMapper
to maps org.embulk.config.TaskSource
into a task-defining interface that inherits Task
.