App

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

run
int run(istring[] args)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Application

__anonymous
mixin ExtensibleClassMixin!(IApplicationExtension)

Adds a list of extensions (this.extensions) and methods to handle them. See ExtensibleClassMixin documentation for details.

Application
alias Application = .Application

Alias of Application, for use by sub-classes without needing to import ocean.util.app.Application.

desc
istring desc;

Short description of the application.

args
istring[] args;

Command line arguments passed to the application.

status
int status;

Application exit status code.

name
istring name()
exit
void exit(int status, istring msg)

Exit cleanly from the application.

main
int main(istring[] args)

Runs the application.

printExitException
void printExitException(ExitException e)

Prints the message in an ExitException.

run
int run(istring[] args)

Do the actual application work.

order
int order()

Default application extension order.

preRun
void preRun(IApplication app, istring[] args)

IApplicationExtension methods dummy implementation.

postRun
void postRun(IApplication app, istring[] args, int status)
Undocumented in source. Be warned that the author may not have intended to support it.
atExit
void atExit(IApplication app, istring[] args, int status, ExitException exception)
Undocumented in source. Be warned that the author may not have intended to support it.
onExitException
ExitException onExitException(IApplication app, istring[] args, ExitException exception)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta