- Type Parameters:
T- The type of the tool
- All Superinterfaces:
Call<T>,WithModuleOptionsCall<T>
public interface WithModuleSourceOptionsCall<T> extends WithModuleOptionsCall<T>
A tool call with a list of module source-related options.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description default TwithEncoding(String encoding)Specify character encoding used by source files.default TwithModuleSourcePath(String moduleSourcePath)Specify where to find input source files for multiple modules.Methods inherited from interface de.sormuras.bach.Call
arguments, findArgument, findProvider, findValue, name, run, toCommandLine, toDescriptiveLine, toStringArray, toStrings, with, with, with, with, with, with, with, with, with, withoutMethods inherited from interface de.sormuras.bach.tool.WithModuleOptionsCall
withModule, withModulePath, withPatchModule, withResolvingAdditionalModules
-
Method Details
-
withModuleSourcePath
Specify where to find input source files for multiple modules.- Parameters:
moduleSourcePath- The path where to find input source files for multiple modules- Returns:
- A new tool call instance with
--module-source-path <module-source-path>appended to the list of arguments
-
withEncoding
Specify character encoding used by source files.- Parameters:
encoding- The character encoding used by source files- Returns:
- A new tool call instance with
-encoding <encoding>appended to the list of arguments
-