public class App extends DBaseCmdLine implements DBClassListener
password, type, url, userexitStatus, OPTION_DEBUG, OPTION_HELP, OPTION_HOME, OPTION_REMOTE_URL, PROPERTY_REMOTE_URL| Constructor and Description |
|---|
App() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtraOptions(org.apache.commons.cli.Options options)
add extra command line options
|
void |
eventObjectCreated(GlobalKey createdKey,
VirtualDB layer)
The record was created.
|
void |
eventObjectDeleted(GlobalKey deletedKey,
VirtualDB layer)
The record was deleted.
|
void |
eventObjectModified(GlobalKey modifiedKey,
VirtualDB layer)
The record was modified.
|
void |
handleCommandLine(org.apache.commons.cli.CommandLine line)
handle the command line args
|
static void |
main(java.lang.String[] argv)
The main for the program
|
void |
process()
process ( extend this method)
|
initabort, abortShowHelp, execute, getExtraPars, handleArgs, setDefaults, setExitFlgprotected void addExtraOptions(org.apache.commons.cli.Options options)
addExtraOptions in class DBaseCmdLineoptions - the optionspublic void handleCommandLine(@Nonnull
org.apache.commons.cli.CommandLine line)
throws java.lang.Exception
DBaseCmdLinehandleCommandLine in class DBaseCmdLineline - the line optionsjava.lang.Exception - a serious problempublic void process()
throws java.lang.Exception
process in class AppCmdLinejava.lang.Exception - a serious problempublic void eventObjectCreated(GlobalKey createdKey, VirtualDB layer)
eventObjectCreated in interface DBClassListenercreatedKey - The record's key that was added.layer - The layer from which the event comes from.public void eventObjectDeleted(GlobalKey deletedKey, VirtualDB layer)
eventObjectDeleted in interface DBClassListenerdeletedKey - The record's key that was deleted.layer - The layer from which the event comes from.public void eventObjectModified(GlobalKey modifiedKey, VirtualDB layer)
eventObjectModified in interface DBClassListenermodifiedKey - The record's key that was modified.layer - The layer from which the event comes from.public static void main(java.lang.String[] argv)
argv - The command line argumentsstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.