public class App extends DBaseCmdLine implements DBClassListener
password, type, url, user
exitStatus, 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)
|
init
abort, abortShowHelp, execute, getExtraPars, handleArgs, setDefaults, setExitFlg
protected void addExtraOptions(org.apache.commons.cli.Options options)
addExtraOptions
in class DBaseCmdLine
options
- the optionspublic void handleCommandLine(@Nonnull org.apache.commons.cli.CommandLine line) throws java.lang.Exception
DBaseCmdLine
handleCommandLine
in class DBaseCmdLine
line
- the line optionsjava.lang.Exception
- a serious problempublic void process() throws java.lang.Exception
process
in class AppCmdLine
java.lang.Exception
- a serious problempublic void eventObjectCreated(GlobalKey createdKey, VirtualDB layer)
eventObjectCreated
in interface DBClassListener
createdKey
- 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 DBClassListener
deletedKey
- 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 DBClassListener
modifiedKey
- 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.