|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XenqttApplication
Specifies a type that implements a Xenqtt application. A Xenqtt application is an application that can be invoked via the command-line by the user. All applications are instantiated every time xenqtt is run so they should not do anything significant during construction. All applications must have a no-arg constructor.
Method Summary | |
---|---|
String |
getDescription()
This is used to display a detailed description of what this application does. |
String |
getName()
|
String |
getOptsText()
The command line options string to display as part of the usage statement. |
String |
getOptsUsageText()
The usage description of the opts in getOptsText() . |
String |
getSummary()
This is used to display a single line summary of what this application does. |
void |
start(AppContext appContext)
Start the application. |
void |
stop()
Stop the application. |
Method Detail |
---|
void start(AppContext appContext)
appContext
- The context
for the application.void stop()
CTRL-c
). The application should take all appropriate
shutdown actions at this point. This is called by the main thread that is used in launching Xenqtt
String getName()
String getOptsText()
String getOptsUsageText()
getOptsText()
. There should be a line in the format "\n\topt : description" for each opt in the
getOptsText()
string.
String getSummary()
String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |