- Type Parameters:
T- The type of the tool
- All Superinterfaces:
Call<T>
- All Known Subinterfaces:
WithModuleSourceOptionsCall<T>
public interface WithModuleOptionsCall<T> extends Call<T>
A tool call with a list of module-related options.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description default TwithModule(String module)Specify the initial module(s).default TwithModulePath(String path)Specify where to find application modules.default TwithPatchModule(String module, String path)Override or augment a module with classes and resources in JAR files or directories.default TwithResolvingAdditionalModules(Iterable<String> modules)Root modules to resolve in addition to the initial 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, without
-
Method Details
-
withModule
Specify the initial module(s).- Parameters:
module- The initial module(s)- Returns:
- A new tool call instance with
--module <module>(,<module>)*appended
-
withResolvingAdditionalModules
Root modules to resolve in addition to the initial modules.Or all modules on the module path if
"ALL-MODULE-PATH"is given.- Parameters:
modules- The root modules to resolve in addition to the initial modules- Returns:
- A new tool call instance
-
withModulePath
Specify where to find application modules.- Parameters:
path- The path where to find application modules- Returns:
- A new tool call instance
-
withPatchModule
Override or augment a module with classes and resources in JAR files or directories.- Parameters:
module- The name of the module to override or augmentpath- The path where to find more assets for the given module- Returns:
- A new tool call instance
-