| Modifier and Type | Class and Description |
|---|---|
protected static interface |
AbstractConsoleApp.MainOptions
Main options
|
Reporter.SetLocationReport.Location| Modifier and Type | Field and Description |
|---|---|
protected java.io.PrintStream |
err |
protected java.io.PrintStream |
out |
| Constructor and Description |
|---|
AbstractConsoleApp() |
AbstractConsoleApp(java.lang.Object target)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
__main(AbstractConsoleApp.MainOptions opts)
Initialize the repository and other global vars.
|
void |
run(java.lang.String[] args)
Main entry
|
addAll, addAll, addProperties, addProperty, addTarget, clear, config, config, getBase, getDir, getFile, getFile, getHeader, getHeader, getMap, getParent, getProperties, getProperty, getProperty, isPrepared, isTrue, prepare, process, putAll, putAll, removeProperty, removeTarget, setBase, setProperties, setProperties, setPropertyaddErrors, addWarnings, check, error, exception, getErrors, getInfo, getInfo, getLocation, getMessages, getOut, getWarnings, isExceptions, isOk, isPedantic, isPerfect, isTrace, progress, report, run, setExceptions, setPedantic, setTrace, trace, warningprotected final java.io.PrintStream err
protected final java.io.PrintStream out
public AbstractConsoleApp(java.lang.Object target)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic AbstractConsoleApp()
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic void run(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic void __main(AbstractConsoleApp.MainOptions opts) throws java.io.IOException
opts - the optionsjava.io.IOExceptionCopyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.