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 StringgetParameter(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:RunnerConfigurationRetrieves a configuration parameter as a string.- Specified by:
getParameterin classRunnerConfiguration- Parameters:
key- the key of the configuration parameterdefaultValue- the default value to return if the configuration parameter was not supplied
-
-