Package org.apache.beam.sdk.io.cdap
Class ConfigWrapper<T extends PluginConfig>
java.lang.Object
org.apache.beam.sdk.io.cdap.ConfigWrapper<T>
Class for building
PluginConfig
object of the specific class .-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
fromJsonFile
(File jsonFile) GetsConfigWrapper
by JSON file.fromJsonString
(String jsonString) GetsConfigWrapper
by JSON string.Sets aPlugin
single parameter.withParams
(Map<String, Object> paramsMap)
-
Constructor Details
-
ConfigWrapper
-
-
Method Details
-
fromJsonString
GetsConfigWrapper
by JSON string.- Throws:
IOException
-
fromJsonFile
GetsConfigWrapper
by JSON file.- Throws:
IOException
-
withParams
-
setParam
Sets aPlugin
single parameter. -
build
-