@Configuration @EnableAutoConfiguration(exclude={org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration.class,org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration.class,org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration.class,org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration.class}) public class YarnPushApplication extends AbstractClientApplication<YarnPushApplication>
Pushed application bundle is merely a collection of files inside a directory. All files in this directory is considered to belong to the bundle and directory should not have any other files or nested directories.
applicationBaseDir, applicationVersion, appProperties, profiles, sources| Constructor and Description |
|---|
YarnPushApplication() |
| Modifier and Type | Method and Description |
|---|---|
YarnPushApplication |
configFile(String configFileName,
Properties configProperties)
Associates a new
Properties with a name. |
protected YarnPushApplication |
getThis()
Gets the instance of this defined by a sub-class.
|
void |
run()
Run a
SpringApplication build by a
SpringApplicationBuilder using an empty args. |
void |
run(String... args)
Run a
SpringApplication build by a SpringApplicationBuilder. |
applicationBaseDir, applicationVersion, appProperties, profiles, sourcespublic YarnPushApplication configFile(String configFileName, Properties configProperties)
Properties with a name. These properties will
be serialised into a common properties format with a given config
file name.configFileName - the config file nameconfigProperties - the config propertiesYarnPushApplication for chainingpublic void run()
SpringApplication build by a
SpringApplicationBuilder using an empty args.run(String...)public void run(String... args)
SpringApplication build by a SpringApplicationBuilder.args - the Spring Application argsprotected YarnPushApplication getThis()
AbstractClientApplicationgetThis in class AbstractClientApplication<YarnPushApplication>