public abstract class MainSupport extends Object
Modifier and Type | Field and Description |
---|---|
protected List<String> |
appArgs |
protected String |
command |
protected boolean |
help |
protected IO |
io |
protected org.slf4j.Logger |
log |
protected MessageSource |
messages |
protected boolean |
showErrorTraces |
protected Variables |
vars |
protected boolean |
version |
Constructor and Description |
---|
MainSupport() |
Modifier and Type | Method and Description |
---|---|
void |
boot(String... args) |
protected abstract Branding |
createBranding() |
protected abstract Shell |
createShell() |
protected void |
enableAnsiColors(Boolean flag) |
protected void |
exit(int code) |
protected Branding |
getBranding() |
protected void |
setConsoleLogLevel(org.sonatype.gossip.Level level) |
protected void |
setDebug(boolean flag) |
protected void |
setQuiet(boolean flag) |
protected void |
setSystemProperty(String input) |
protected void |
setTerminalType(String type) |
protected void |
setTerminalType(jline.TerminalFactory.Type type) |
protected void |
setTrace(boolean flag) |
protected void |
setVariable(String input) |
protected final org.slf4j.Logger log
protected final IO io
protected final Variables vars
protected final MessageSource messages
protected boolean help
protected boolean version
protected boolean showErrorTraces
protected String command
protected void setConsoleLogLevel(org.sonatype.gossip.Level level)
protected void setDebug(boolean flag)
protected void setTrace(boolean flag)
protected void setQuiet(boolean flag)
protected void setVariable(String input)
protected void setSystemProperty(String input)
protected void enableAnsiColors(Boolean flag)
protected void setTerminalType(String type)
protected void setTerminalType(jline.TerminalFactory.Type type)
protected void exit(int code)
protected Branding getBranding()
protected abstract Branding createBranding()
Copyright © 2008-2013 Sonatype. All Rights Reserved.