public abstract class AbstractMain
extends java.lang.Object
This class is designed for subclassing, with subclasses typically:
#main(String...) (of course) which need simply invoke 
      execCli(String[]) with the arguments 
 cliScriptName()
 Main.LaunchCommand via #cliLaunchCommand() if desired
 cliBuilder()
      (typically calling the parent and then customizing the builder)
 Main.LaunchCommand.populateCatalog(BrooklynCatalog)| Modifier and Type | Class and Description | 
|---|---|
| static class  | AbstractMain.BrooklynCommandabstract superclass for commands defining global options, but not arguments,
 as that prevents Help from being injectable in the  AbstractMain.HelpCommandsubclass | 
| static class  | AbstractMain.BrooklynCommandCollectingArgscommon superclass for commands, defining global options (in our super) and extracting the arguments | 
| static class  | AbstractMain.HelpCommand | 
| static class  | AbstractMain.InfoCommand | 
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | BANNER | 
| static int | CONFIGURATION_ERROR | 
| static int | EXECUTION_ERROR | 
| static int | PARSE_ERROR | 
| static int | SUCCESS | 
| Constructor and Description | 
|---|
| AbstractMain() | 
public static final java.lang.String BANNER
public static final int SUCCESS
public static final int PARSE_ERROR
public static final int EXECUTION_ERROR
public static final int CONFIGURATION_ERROR