Package org.openrefine.model
Class RunnerConfigurationImpl
- java.lang.Object
-
- org.openrefine.model.RunnerConfiguration
-
- org.openrefine.model.RunnerConfigurationImpl
-
public class RunnerConfigurationImpl extends RunnerConfiguration
Supplies configuration parameters to a runner from a simple hash map.
-
-
Field Summary
-
Fields inherited from class org.openrefine.model.RunnerConfiguration
empty, logger
-
-
Constructor Summary
Constructors Constructor Description RunnerConfigurationImpl()
RunnerConfigurationImpl(Map<String,String> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getParameter(String key, String defaultValue)
Retrieves a configuration parameter as a string.-
Methods inherited from class org.openrefine.model.RunnerConfiguration
getIntParameter, getLongParameter
-
-
-
-
Method Detail
-
getParameter
public String getParameter(String key, String defaultValue)
Description copied from class:RunnerConfiguration
Retrieves a configuration parameter as a string.- Specified by:
getParameter
in classRunnerConfiguration
- Parameters:
key
- the key of the configuration parameterdefaultValue
- the default value to return if the configuration parameter was not supplied
-
-