public static class SaharaJobConfig.concreteJobConfigBuilder extends Object implements JobConfigBuilder
Modifier and Type | Method and Description |
---|---|
JobConfigBuilder |
addArg(Object arg)
|
JobConfigBuilder |
addConfig(String name,
Object value)
|
JobConfigBuilder |
addParam(String param,
Object value)
|
JobConfig |
build()
Creates and return the Model Entity M
|
JobConfigBuilder |
from(JobConfig in)
Creates a Builder using the param M as the default values
|
public JobConfig build()
Buildable.Builder
build
in interface Buildable.Builder<JobConfigBuilder,JobConfig>
public JobConfigBuilder from(JobConfig in)
Buildable.Builder
from
in interface Buildable.Builder<JobConfigBuilder,JobConfig>
public JobConfigBuilder addConfig(String name, Object value)
JobConfigBuilder
addConfig
in interface JobConfigBuilder
name
- the name of the configurationvalue
- the value of the configurationpublic JobConfigBuilder addArg(Object arg)
JobConfigBuilder
addArg
in interface JobConfigBuilder
arg
- the argumentpublic JobConfigBuilder addParam(String param, Object value)
JobConfigBuilder
addParam
in interface JobConfigBuilder
param
- the name of the parametervalue
- the value of the parameterCopyright © 2017. All rights reserved.