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) GetsConfigWrapperby JSON file.fromJsonString(String jsonString) GetsConfigWrapperby JSON string.Sets aPluginsingle parameter.withParams(Map<String, Object> paramsMap)
-
Constructor Details
-
ConfigWrapper
-
-
Method Details
-
fromJsonString
GetsConfigWrapperby JSON string.- Throws:
IOException
-
fromJsonFile
GetsConfigWrapperby JSON file.- Throws:
IOException
-
withParams
-
setParam
Sets aPluginsingle parameter. -
build
-