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.BrooklynCommand
abstract superclass for commands defining global options, but not arguments,
 as that prevents Help from being injectable in the  
AbstractMain.HelpCommand subclass | 
static class  | 
AbstractMain.BrooklynCommandCollectingArgs
common superclass for commands, defining global options (in our super) and extracting the arguments 
 | 
static class  | 
AbstractMain.DefaultInfoCommand  | 
static class  | 
AbstractMain.HelpCommand  | 
static class  | 
AbstractMain.InfoCommand  | 
| Modifier and Type | Field and Description | 
|---|---|
static int | 
CONFIGURATION_ERROR  | 
static java.lang.String | 
DEFAULT_BANNER  | 
static int | 
EXECUTION_ERROR  | 
static int | 
PARSE_ERROR  | 
static int | 
SUCCESS  | 
| Constructor and Description | 
|---|
AbstractMain()  | 
public static final java.lang.String DEFAULT_BANNER
public static final int SUCCESS
public static final int PARSE_ERROR
public static final int EXECUTION_ERROR
public static final int CONFIGURATION_ERROR