Package org.pentaho.di.pan
Interface CommandLineOptionProvider
public interface CommandLineOptionProvider
-
Method Summary
Modifier and TypeMethodDescriptionorg.pentaho.di.core.parameters.NamedParamsgetAdditionalCommandlineOptions(org.pentaho.di.core.logging.LogChannelInterface log) Return the additional commandline option in the form of namedParamshandleParameter(org.pentaho.di.core.logging.LogChannelInterface log, Map<String, String> params, Repository repository) Validate the parameter value and set the project context
-
Method Details
-
getAdditionalCommandlineOptions
org.pentaho.di.core.parameters.NamedParams getAdditionalCommandlineOptions(org.pentaho.di.core.logging.LogChannelInterface log) Return the additional commandline option in the form of namedParams- Parameters:
log- LogChannelInterface object for logging information- Returns:
- NamedParam NameParam containing the name and description of the commandline options
-
handleParameter
CommandExecutorResult handleParameter(org.pentaho.di.core.logging.LogChannelInterface log, Map<String, String> params, Repository repository) throws org.pentaho.di.core.exception.KettleExceptionValidate the parameter value and set the project context- Parameters:
log-params- Map containing the param/valuerepository- Repository object in case we are connected to repository- Returns:
- CommandExecutorResult Returns the return code which is zero in case of success and non-zero code in case of error
- Throws:
org.pentaho.di.core.exception.KettleException
-