public interface Invokable
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Template method for main application code.
|
void |
exit(ExitCode status)
Exits the invokable.
|
void |
exit(int status)
Exits the invokable.
|
IO |
getIoStreams()
Get stream object for I/O.
|
void |
init()
Initializes the invokable.
|
void |
setExiter(Exitable exiter)
Set an
exiter to handle exit calls. |
void |
setIoStreams(IO ioStreams)
Set stream object for I/O.
|
void init()
void execute()
throws Exception
Exception - If something goes wrong.IO getIoStreams()
reset.void setIoStreams(IO ioStreams)
ioStreams - Stream object.void exit(ExitCode status)
status - exit status.void exit(int status)
status - exit status.void setExiter(Exitable exiter)
exiter to handle exit calls.exiter - Object which handles exit calls.Copyright © 2012 Sven Strittmatter. All Rights Reserved.