Modifier and Type | Class and Description |
---|---|
protected static interface |
AbstractConsoleApp.MainOptions
Main options
|
Reporter.SetLocation
Report.Location
Modifier and Type | Field and Description |
---|---|
protected PrintStream |
err |
protected PrintStream |
out |
Constructor and Description |
---|
AbstractConsoleApp() |
AbstractConsoleApp(Object target)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
__main(AbstractConsoleApp.MainOptions opts)
Initialize the repository and other global vars.
|
void |
run(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, setProperty
addErrors, addWarnings, check, error, exception, getErrors, getInfo, getInfo, getLocation, getMessages, getOut, getWarnings, isExceptions, isOk, isPedantic, isPerfect, isTrace, progress, report, run, setExceptions, setPedantic, setTrace, trace, warning
protected final PrintStream err
protected final PrintStream out
public AbstractConsoleApp(Object target) throws UnsupportedEncodingException
UnsupportedEncodingException
public AbstractConsoleApp() throws UnsupportedEncodingException
UnsupportedEncodingException
public void __main(AbstractConsoleApp.MainOptions opts) throws IOException
opts
- the optionsInterruptedException
IOException
Copyright © 2015 aQute SARL. All rights reserved.