Package org.pentaho.di.kitchen
Class Kitchen
java.lang.Object
org.pentaho.di.kitchen.Kitchen
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
configureLogging
(CommandLineOption maxLogLinesOption, CommandLineOption maxLogTimeoutOption) Configure the central log store from the provided command line optionsstatic KitchenCommandExecutor
static void
protected static int
parseIntArgument
(CommandLineOption option, int def) Parse an argument as an integer.static void
setCommandExecutor
(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
-