@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,org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration.class,org.springframework.boot.actuate.autoconfigure.EndpointMBeanExportAutoConfiguration.class,org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration.class}) public class YarnPushApplication extends AbstractClientApplication<java.lang.String,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(java.lang.String configFileName,
java.util.Properties configProperties)
Associates a new
Properties with a name. |
protected YarnPushApplication |
getThis()
Gets the instance of this defined by a sub-class.
|
java.lang.String |
run()
Run a
SpringApplication build by a
SpringApplicationBuilder using an empty args. |
java.lang.String |
run(java.lang.String... args)
Run a
SpringApplication build by a SpringApplicationBuilder . |
applicationBaseDir, applicationVersion, appProperties, profiles, sources
public YarnPushApplication configFile(java.lang.String configFileName, java.util.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 java.lang.String run()
SpringApplication
build by a
SpringApplicationBuilder
using an empty args.run
in interface ClientApplicationRunner<java.lang.String>
run
in class AbstractClientApplication<java.lang.String,YarnPushApplication>
run(String...)
public java.lang.String run(java.lang.String... args)
SpringApplication
build by a SpringApplicationBuilder
.run
in interface ClientApplicationRunner<java.lang.String>
run
in class AbstractClientApplication<java.lang.String,YarnPushApplication>
args
- the Spring Application argsprotected YarnPushApplication getThis()
AbstractClientApplication
getThis
in class AbstractClientApplication<java.lang.String,YarnPushApplication>