public class Setup extends java.lang.Object implements CLIToolLogger
Modifier and Type | Class and Description |
---|---|
static class |
Setup.Parameters |
static class |
Setup.SetupException
Exception class
|
Modifier and Type | Field and Description |
---|---|
static boolean |
FORCE_FLAG
force a rewrite of the framework configuration files.
|
static org.slf4j.Logger |
logger |
static java.lang.String |
RDECK_BASE
basic bootstrapped rdeck.base
|
static java.lang.String |
SETUP_USAGE
setup usage statement
|
static java.lang.String |
TEMPLATE_RESOURCES_PATH |
Constructor and Description |
---|
Setup()
default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String message)
Logs debug message via implementation specific log facility
|
void |
error(java.lang.String message)
Logs error message via implementation specific log facility
|
void |
execute(java.lang.String[] args)
Validates the install, generates preference data and then invokes the adminCmd.xml
|
Setup.Parameters |
getParameters() |
void |
log(java.lang.String message)
Logs message via implementation specific log facility
|
static void |
main(java.lang.String[] args)
called from setup shell/bat script.
|
void |
performSetup() |
static void |
printUsage() |
void |
verbose(java.lang.String message)
Logs verbose message via implementation specific log facility
|
void |
warn(java.lang.String message)
Logs warning message via implementation specific log facility
|
public static final org.slf4j.Logger logger
public static java.lang.String RDECK_BASE
public static final java.lang.String SETUP_USAGE
public static final boolean FORCE_FLAG
public static final java.lang.String TEMPLATE_RESOURCES_PATH
public static void main(java.lang.String[] args)
execute(java.lang.String[])
method.args
- argspublic void execute(java.lang.String[] args) throws Setup.SetupException
args
- Command line argsSetup.SetupException
- thrown if errorpublic void performSetup() throws Setup.SetupException
Setup.SetupException
public static void printUsage()
public void log(java.lang.String message)
BaseLogger
log
in interface BaseLogger
message
- message to logpublic void error(java.lang.String message)
BaseLogger
error
in interface BaseLogger
message
- message to logpublic void warn(java.lang.String message)
BaseLogger
warn
in interface BaseLogger
message
- message to logpublic void verbose(java.lang.String message)
BaseLogger
verbose
in interface BaseLogger
message
- message to logpublic void debug(java.lang.String message)
BaseLogger
debug
in interface BaseLogger
message
- message to logpublic Setup.Parameters getParameters()