java.lang.Object
com.github.sormuras.bach.ShellEnvironment
An enviroment used by Bach's Boot Script.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Builds a project by delegating to the default build sequence.static void
describeModule(String module)
Prints a module description of the given module.static void
Prints a listing of all files matching the given glob pattern.static String
linkModule(String module, String target)
Links the given module name to the specified target, usually a URI of a remote JAR file.static void
Prints a list of all loaded modules.static void
Prints all missing modules.static void
Prints all module links.static void
Prints all public static method names.static void
Prints a list of all system modules.static void
Prints all available tool provider implementations.static void
Loads all missing modules.static void
loadModule(String module)
Loads the given module.static void
Run the named tool passing the given arguments.
-
Method Details
-
build
Builds a project by delegating to the default build sequence.- Parameters:
args
- the array of arguments
-
describeModule
Prints a module description of the given module.- Parameters:
module
- the name of the module to describe
-
find
Prints a listing of all files matching the given glob pattern.- Parameters:
glob
- the glob pattern
-
linkModule
Links the given module name to the specified target, usually a URI of a remote JAR file.- Parameters:
module
- the name of the module to linktarget
- the target of the link, usually a URI of a remote JAR file- Returns:
- the possibly expanded target of the link
-
listLoadedModules
public static void listLoadedModules()Prints a list of all loaded modules. -
listMissingModules
public static void listMissingModules()Prints all missing modules. -
listModuleLinks
public static void listModuleLinks()Prints all module links. -
listPublicStaticMethods
public static void listPublicStaticMethods()Prints all public static method names. -
listSystemModules
public static void listSystemModules()Prints a list of all system modules. -
listToolProviders
public static void listToolProviders()Prints all available tool provider implementations.- See Also:
ToolProvider
-
loadModule
Loads the given module.- Parameters:
module
- the name of the module to load
-
loadMissingModules
public static void loadMissingModules()Loads all missing modules. -
run
Run the named tool passing the given arguments.- Parameters:
tool
- the name of the tool to runargs
- the array of args to be passed to the tool as strings
-