|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.test.junit.ApplicationInfo
public class ApplicationInfo
Simple holder class needed for returning multiple
values from AbstractYarnClusterTests
app
submit operations.
Constructor Summary | |
---|---|
ApplicationInfo()
Instantiates a new application info. |
|
ApplicationInfo(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
org.apache.hadoop.yarn.api.records.ApplicationReport applicationReport)
Instantiates a new application info. |
Method Summary | |
---|---|
org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId()
Gets the application id. |
org.apache.hadoop.yarn.api.records.ApplicationReport |
getApplicationReport()
Gets the application report. |
org.apache.hadoop.yarn.api.records.FinalApplicationStatus |
getFinalApplicationStatus()
Gets the final application status. |
org.apache.hadoop.yarn.api.records.YarnApplicationState |
getYarnApplicationState()
Gets the yarn application state. |
void |
setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
Sets the application id. |
void |
setApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationReport applicationReport)
Sets the application report. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationInfo()
public ApplicationInfo(org.apache.hadoop.yarn.api.records.ApplicationId applicationId, org.apache.hadoop.yarn.api.records.ApplicationReport applicationReport)
applicationId
- the application idapplicationReport
- the application reportMethod Detail |
---|
public org.apache.hadoop.yarn.api.records.YarnApplicationState getYarnApplicationState()
public org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
public void setApplicationId(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
applicationId
- the new application idpublic org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport()
public void setApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationReport applicationReport)
applicationReport
- the new application report
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |