Package org.pentaho.di.kitchen
Class Kitchen
- java.lang.Object
-
- org.pentaho.di.kitchen.Kitchen
-
public class Kitchen extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
STRING_KITCHEN
-
Constructor Summary
Constructors Constructor Description Kitchen()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
configureLogging(CommandLineOption maxLogLinesOption, CommandLineOption maxLogTimeoutOption)
Configure the central log store from the provided command line optionsstatic KitchenCommandExecutor
getCommandExecutor()
static void
main(String[] a)
protected static int
parseIntArgument(CommandLineOption option, int def)
Parse an argument as an integer.static void
setCommandExecutor(KitchenCommandExecutor commandExecutor)
-
-
-
Field Detail
-
STRING_KITCHEN
public static final String STRING_KITCHEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public static KitchenCommandExecutor getCommandExecutor()
-
setCommandExecutor
public static void setCommandExecutor(KitchenCommandExecutor commandExecutor)
-
-