public class DBCreatorCommandLine extends CommandLineBase
| Modifier and Type | Field and Description |
|---|---|
static String |
OPT_ENTITIES |
static String |
OPT_OPERATION |
static String |
OPT_PASSWORD |
static String |
OPT_PERSISTENCEUNITLIST |
static String |
OPT_USER |
HAS_NO_VALUE, HAS_VALUE, LIST_SEPARATOR, NOT_REQUIRED, OPT_HELP, OPT_INFOLEVEL, REQUIRED| Constructor and Description |
|---|
DBCreatorCommandLine() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getEntities() |
DBCreator.EOperation |
getOperation() |
String |
getPassword() |
List<String> |
getPersistenceUnitList() |
String |
getUser() |
protected void |
verify()
must be overwritten by a derived class to verify the command line more in detail.
|
addOption, addStdOpt_Help, addStdOpt_InfoLevel, getInfoLevel, getOptionValue, getOptionValueAsList, hasOption, isEmpty, needsHelp, parse, printHelp, setOptionRequiredpublic static final String OPT_USER
public static final String OPT_PASSWORD
public static final String OPT_PERSISTENCEUNITLIST
public static final String OPT_ENTITIES
public static final String OPT_OPERATION
public DBCreator.EOperation getOperation() throws Exception
Exceptionpublic List<String> getPersistenceUnitList() throws Exception
Exceptionprotected void verify()
throws Exception
CommandLineBaseverify in class CommandLineBaseExceptionCopyright © 2016 as-development.net. All rights reserved.