public abstract class DataBridgeApp extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DataBridgeApp.ReturnValue
The list of possible return values for the application.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
BUILD_INFO_STRING_FORMAT |
protected Boolean |
disableHostnameVerification |
protected org.apache.commons.cli.Option |
disableHostnameVerificationOpt |
protected org.apache.commons.cli.Option |
dmRegServerHostOpt |
protected org.apache.commons.cli.Option |
dmRegServerPortOpt |
protected org.apache.commons.cli.Option |
enableEnvVariablesOpt |
protected org.apache.commons.cli.Option |
helpOpt |
protected org.apache.commons.cli.Option |
httpProxyHostOpt |
protected Integer |
httpProxyPort |
protected org.apache.commons.cli.Option |
httpProxyPortOpt |
protected org.apache.commons.cli.Option |
localPathOpt |
protected org.apache.commons.cli.Option |
manifestPathOpt |
protected Integer |
maxThreads |
protected org.apache.commons.cli.Option |
maxThreadsOpt |
protected org.apache.commons.cli.Option |
passwordOpt |
protected String |
regServerHost |
protected org.apache.commons.cli.Option |
regServerHostOpt |
protected Integer |
regServerPort |
protected org.apache.commons.cli.Option |
regServerPortOpt |
protected org.apache.commons.cli.Option |
s3AccessKeyOpt |
protected org.apache.commons.cli.Option |
s3EndpointOpt |
protected org.apache.commons.cli.Option |
s3SecretKeyOpt |
protected org.apache.commons.cli.Option |
socketTimeoutOpt |
protected org.apache.commons.cli.Option |
sslOpt |
protected Boolean |
trustSelfSignedCertificate |
protected org.apache.commons.cli.Option |
trustSelfSignedCertificateOpt |
protected org.apache.commons.cli.Option |
usernameOpt |
protected Boolean |
useSsl |
protected org.apache.commons.cli.Option |
versionOpt |
| Constructor and Description |
|---|
DataBridgeApp() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
createApplicationContext()
Creates and returns the Spring application context.
|
abstract ArgumentParser |
getArgumentParser()
Gets the application argument parser.
|
abstract DataBridgeApp.ReturnValue |
go(String[] args)
Runs the application.
|
protected DataBridgeApp.ReturnValue |
parseCommandLineArguments(String[] args,
org.springframework.context.ApplicationContext applicationContext)
Parses the command line arguments using the specified argument parser.
|
public static final String BUILD_INFO_STRING_FORMAT
protected org.apache.commons.cli.Option s3AccessKeyOpt
protected org.apache.commons.cli.Option s3SecretKeyOpt
protected org.apache.commons.cli.Option s3EndpointOpt
protected org.apache.commons.cli.Option localPathOpt
protected org.apache.commons.cli.Option manifestPathOpt
protected org.apache.commons.cli.Option regServerHostOpt
protected org.apache.commons.cli.Option regServerPortOpt
protected org.apache.commons.cli.Option dmRegServerHostOpt
protected org.apache.commons.cli.Option dmRegServerPortOpt
protected org.apache.commons.cli.Option sslOpt
protected org.apache.commons.cli.Option usernameOpt
protected org.apache.commons.cli.Option passwordOpt
protected org.apache.commons.cli.Option enableEnvVariablesOpt
protected org.apache.commons.cli.Option trustSelfSignedCertificateOpt
protected org.apache.commons.cli.Option disableHostnameVerificationOpt
protected org.apache.commons.cli.Option helpOpt
protected org.apache.commons.cli.Option versionOpt
protected org.apache.commons.cli.Option httpProxyHostOpt
protected org.apache.commons.cli.Option httpProxyPortOpt
protected org.apache.commons.cli.Option maxThreadsOpt
protected org.apache.commons.cli.Option socketTimeoutOpt
protected Boolean useSsl
protected Boolean trustSelfSignedCertificate
protected Boolean disableHostnameVerification
protected Integer regServerPort
protected Integer httpProxyPort
protected Integer maxThreads
protected String regServerHost
public abstract ArgumentParser getArgumentParser()
public abstract DataBridgeApp.ReturnValue go(String[] args) throws Exception
args - the command line arguments.Exception - if any problems were encountered.protected DataBridgeApp.ReturnValue parseCommandLineArguments(String[] args, org.springframework.context.ApplicationContext applicationContext)
args - the command line arguments.applicationContext - the Spring application context.protected org.springframework.context.ApplicationContext createApplicationContext()
Copyright © 2021. All rights reserved.