Class Kitchen


  • public class Kitchen
    extends Object
    • Constructor Detail

      • Kitchen

        public Kitchen()
    • 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 lines
        maxLogTimeoutOption - 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 of
        def - 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