|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.boot.app.AbstractClientApplication<YarnInfoApplication>
org.springframework.yarn.boot.app.YarnInfoApplication
@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 YarnInfoApplicationGeneric Spring Yarn Boot application handling reporting.
| Nested Class Summary | |
|---|---|
static class |
YarnInfoApplication.Operation
|
static class |
YarnInfoApplication.OperationProperties
|
| Field Summary |
|---|
| Fields inherited from class org.springframework.yarn.boot.app.AbstractClientApplication |
|---|
applicationBaseDir, applicationVersion, appProperties, profiles, sources |
| Constructor Summary | |
|---|---|
YarnInfoApplication()
|
|
| Method Summary | |
|---|---|
protected String |
getInstalledReport(ApplicationContext context)
Build the report for installed applications. |
protected String |
getSubmittedReport(org.springframework.yarn.client.YarnClient client,
boolean verbose,
String type,
Map<String,String> headers)
Build the report for submitted applications. |
protected YarnInfoApplication |
getThis()
Gets the instance of this defined by a sub-class. |
String |
run()
Run a SpringApplication build by a
SpringApplicationBuilder using an empty args. |
String |
run(String... args)
Run a SpringApplication build by a SpringApplicationBuilder. |
| Methods inherited from class org.springframework.yarn.boot.app.AbstractClientApplication |
|---|
applicationBaseDir, applicationVersion, appProperties, profiles, sources |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public YarnInfoApplication()
| Method Detail |
|---|
public String run()
SpringApplication build by a
SpringApplicationBuilder using an empty args.
run(String...)public String run(String... args)
SpringApplication build by a SpringApplicationBuilder.
args - the Spring Application args
protected String getInstalledReport(ApplicationContext context)
throws Exception
context - the application context
Exception - the exception
protected String getSubmittedReport(org.springframework.yarn.client.YarnClient client,
boolean verbose,
String type,
Map<String,String> headers)
client - the clientverbose - the verbosetype - the typeheaders - the headers
protected YarnInfoApplication getThis()
AbstractClientApplication
getThis in class AbstractClientApplication<YarnInfoApplication>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||