|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.openmdx.base.application.control.CmdLineEvent
public class CmdLineEvent
Implements a command line event that application may handle
| Field Summary | |
|---|---|
static int |
CMDLINE_BAD_ARGS
Event type: CMDLINE_BAD_ARGS |
static int |
CMDLINE_HELP_REQUEST
Event type: CMDLINE_HELP_REQUEST |
static int |
CMDLINE_TRACE
Event type: CMDLINE_TRACE |
static int |
CMDLINE_VERSION_REQUEST
Event type: CMDLINE_VERSION_REQUEST |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
CmdLineEvent(Object source,
int type,
String info)
Creates a new command line event |
|
| Method Summary | |
|---|---|
String |
toString()
Returns a String representation of this CmdLineEvent |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CMDLINE_BAD_ARGS
The command line parsing failed to due wrong/missing command line parameters. The event info holds a formatted usage text.
public static final int CMDLINE_HELP_REQUEST
The caller requested a help text. The event info holds a formatted help text.
public static final int CMDLINE_VERSION_REQUEST
The caller requested the application's version. The event info holds the version info.
public static final int CMDLINE_TRACE
A command line parser trace message if the command line parser trace is activated. The event info holds a trace message.
| Constructor Detail |
|---|
public CmdLineEvent(Object source,
int type,
String info)
source - type - text - | Method Detail |
|---|
public String toString()
toString in class EventObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||