@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 YarnShutdownApplication extends AbstractClientApplication<java.lang.String,YarnShutdownApplication>
Modifier and Type | Class and Description |
---|---|
static class |
YarnShutdownApplication.OperationProperties |
applicationBaseDir, applicationVersion, appProperties, profiles, sources
Constructor and Description |
---|
YarnShutdownApplication() |
Modifier and Type | Method and Description |
---|---|
protected YarnShutdownApplication |
getThis()
Gets the instance of this defined by a sub-class.
|
java.lang.String |
run()
Run the application.
|
java.lang.String |
run(java.lang.String... args)
Run the application.
|
applicationBaseDir, applicationVersion, appProperties, profiles, sources
public java.lang.String run()
ClientApplicationRunner
run
in interface ClientApplicationRunner<java.lang.String>
run
in class AbstractClientApplication<java.lang.String,YarnShutdownApplication>
public java.lang.String run(java.lang.String... args)
ClientApplicationRunner
run
in interface ClientApplicationRunner<java.lang.String>
run
in class AbstractClientApplication<java.lang.String,YarnShutdownApplication>
args
- the application argumentsprotected YarnShutdownApplication getThis()
AbstractClientApplication
getThis
in class AbstractClientApplication<java.lang.String,YarnShutdownApplication>