public class StatusMain extends Object
| Constructor and Description | 
|---|
StatusMain()  | 
| Modifier and Type | Method and Description | 
|---|---|
static ModuleRegistry | 
findRegistry()
Find the ModuleRegistry. 
 | 
static void | 
main(String[] args)
Main program, must be invoked by diet4j framework. 
 | 
protected static void | 
showModule(ModuleRequirement req,
          Module mod,
          int indent,
          Set<Module> haveAlready,
          boolean recursive,
          boolean verbose,
          PrintStream out)
Recursive helper method to dump a Module hierarchy. 
 | 
static void | 
showModule(String name,
          boolean recursive,
          boolean loong,
          boolean verbose)
Show a particular Module. 
 | 
static void | 
showModuleRegistry()
Show the content of the Module Registry. 
 | 
static void | 
synopsis()
Print the synopsis for this app. 
 | 
public static void main(String[] args)
args - command-line argumentspublic static ModuleRegistry findRegistry()
public static void showModuleRegistry()
public static void showModule(String name, boolean recursive, boolean loong, boolean verbose) throws ModuleNotFoundException, ModuleResolutionException, ParseException
name - the name of the Modulerecursive - if true, also recursively show all dependenciesloong - if true, show the entire tree, do not attempt to shortenverbose - if true, show more detailModuleNotFoundException - thrown if a needed Module could not be foundModuleResolutionException - thrown if a needed Module could not be resolvedParseException - thrown if the provided Module name was invalidprotected static void showModule(ModuleRequirement req, Module mod, int indent, Set<Module> haveAlready, boolean recursive, boolean verbose, PrintStream out)
req - the ModuleRequirements that lead to the Modulemod - the Module or null if you could not be resolvedindent - how many levels of indenthaveAlready - keep track of modules we already have displayedrecursive - if true, show dependent modules as wellverbose - if true, show more detailout - the stream to print topublic static void synopsis()
Copyright © 2018. All rights reserved.