public class UploaderApp extends DataBridgeApp
DataBridgeApp.ReturnValueBUILD_INFO_STRING_FORMAT, disableHostnameVerification, disableHostnameVerificationOpt, dmRegServerHostOpt, dmRegServerPortOpt, helpOpt, httpProxyHostOpt, httpProxyPort, httpProxyPortOpt, localPathOpt, manifestPathOpt, maxThreads, maxThreadsOpt, passwordOpt, regServerHost, regServerHostOpt, regServerPort, regServerPortOpt, s3AccessKeyOpt, s3EndpointOpt, s3SecretKeyOpt, socketTimeoutOpt, sslOpt, trustSelfSignedCertificate, trustSelfSignedCertificateOpt, usernameOpt, useSsl, versionOpt| Constructor and Description |
|---|
UploaderApp()
Constructs a new UploaderApp instance.
|
| Modifier and Type | Method and Description |
|---|---|
ArgumentParser |
getArgumentParser()
Gets the application argument parser.
|
DataBridgeApp.ReturnValue |
go(String[] args)
Parses the command line arguments and calls the controller to process the upload.
|
static void |
main(String[] args)
The main method of the Uploader Application.
|
protected DataBridgeApp.ReturnValue |
parseCommandLineArguments(String[] args,
org.springframework.context.ApplicationContext applicationContext)
Parses the command line arguments using the specified argument parser.
|
createApplicationContextprotected DataBridgeApp.ReturnValue parseCommandLineArguments(String[] args, org.springframework.context.ApplicationContext applicationContext)
parseCommandLineArguments in class DataBridgeAppargs - the command line arguments.applicationContext - the Spring application context.public DataBridgeApp.ReturnValue go(String[] args) throws Exception
go in class DataBridgeAppargs - the command line arguments passed to the program.Exception - if there are problems performing the upload.public ArgumentParser getArgumentParser()
DataBridgeAppgetArgumentParser in class DataBridgeApppublic static void main(String[] args) throws FileNotFoundException
args - the command line arguments passed to the program.FileNotFoundException - if the logging file couldn't be found.Copyright © 2019. All rights reserved.