Package org.pentaho.di.kitchen
Class Kitchen
java.lang.Object
org.pentaho.di.kitchen.Kitchen
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureLogging(CommandLineOption maxLogLinesOption, CommandLineOption maxLogTimeoutOption) Configure the central log store from the provided command line optionsstatic KitchenCommandExecutorstatic voidprotected static intparseIntArgument(CommandLineOption option, int def) Parse an argument as an integer.static voidsetCommandExecutor(KitchenCommandExecutor commandExecutor)
-
Field Details
-
STRING_KITCHEN
- See Also:
-
-
Constructor Details
-
Kitchen
public Kitchen()
-
-
Method Details
-
main
- Throws:
Exception
-
configureLogging
public static void configureLogging(CommandLineOption maxLogLinesOption, CommandLineOption maxLogTimeoutOption) throws org.pentaho.di.core.exception.KettleException Configure the central log store from the provided command line options- Parameters:
maxLogLinesOption- Option for maximum log linesmaxLogTimeoutOption- Option for log timeout- Throws:
org.pentaho.di.core.exception.KettleException- Error parsing command line arguments
-
parseIntArgument
protected static int parseIntArgument(CommandLineOption option, int def) throws org.pentaho.di.core.exception.KettleException Parse an argument as an integer.- Parameters:
option- Command Line Option to parse argument ofdef- Default if the argument is not set- Returns:
- The parsed argument or the default if the argument was not specified
- Throws:
org.pentaho.di.core.exception.KettleException- Error parsing provided argument as an integer
-
getCommandExecutor
-
setCommandExecutor
-