Converts the configuration path to the given type.
Converts the configuration path to the given type. If the requested type is not supported, an exception is thrown. Override this method to support custom types.
Grabs a reference to the global configuration at creation time.
Grabs a reference to the global configuration at creation time.
Looks up a value in the configuration, and if present returns it, otherwise returns the default value provided.
Looks up a value in the configuration, and if present returns it, otherwise returns the default value provided.
Looks up a single value of a specific type in configuration.
Looks up a single value of a specific type in configuration. If the configuration key does not exist, an exception is thrown. If the requested type is not supported, an exception is thrown.
Attempts to determine the path to an executable, first by looking it up in config, and if that fails, by attempting to locate it on the system path.
Attempts to determine the path to an executable, first by looking it up in config, and if that fails, by attempting to locate it on the system path. If both fail then an exception is raised.
the configuration path to look up
the default name of the executable
An absolute path to the executable to use
Attempts to determine the path to an executable.
Attempts to determine the path to an executable.
The config path is assumed to be the directory containing the executable. If the config lookup fails, then we attempt to locate it on the system path. If both fail then an exception is raised. No validation is performed that the executable actually exists at the returned path.
the configuration path to look up, representing the directory containing the executable
the default name of the executable
An absolute path to the executable to use
The packages we wish to include in our command line *
The packages we wish to include in our command line *
The main method
Main entry point for the class.
Main entry point for the class. Parses the args and executes the pipeline.
Optionally accesses a configuration value.
Optionally accesses a configuration value. If the value is not present in the configuration a None will be returned, else a Some(T) of the appropriate type.
Grabs the config key "PATH" which, if not defined in config will default to the environment variable PATH, splits it on the path separator and returns it as a Seq[String]
Grabs the config key "PATH" which, if not defined in config will default to the environment variable PATH, splits it on the path separator and returns it as a Seq[String]