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 . |
ConfigDiff |
newConfigDiff()
Creates an empty
ConfigDiff instance. |
ConfigSource |
newConfigSource()
Creates an empty
ConfigSource instance. |
TaskReport |
newTaskReport()
Creates an empty
TaskReport instance. |
TaskSource |
newTaskSource()
Creates an empty
TaskSource instance. |
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
.public ConfigDiff newConfigDiff()
ConfigDiff
instance.
It is to replace Exec.newConfigDiff()
.
public ConfigSource newConfigSource()
ConfigSource
instance.
It is to replace Exec.newConfigSource()
.
public TaskReport newTaskReport()
TaskReport
instance.
It is to replace Exec.newTaskReport()
.
public TaskSource newTaskSource()
TaskSource
instance.
It is to replace Exec.newTaskSource()
.