org.apache.hadoop.yarn.api.protocolrecords.impl.pb
Class GetAllApplicationsResponsePBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServiceProtos.GetAllApplicationsResponseProto>
      extended by org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetAllApplicationsResponsePBImpl
All Implemented Interfaces:
GetAllApplicationsResponse

public class GetAllApplicationsResponsePBImpl
extends ProtoBase<YarnServiceProtos.GetAllApplicationsResponseProto>
implements GetAllApplicationsResponse


Constructor Summary
GetAllApplicationsResponsePBImpl()
           
GetAllApplicationsResponsePBImpl(YarnServiceProtos.GetAllApplicationsResponseProto proto)
           
 
Method Summary
 List<ApplicationReport> getApplicationList()
          Get ApplicationReport for all applications.
 YarnServiceProtos.GetAllApplicationsResponseProto getProto()
           
 void setApplicationList(List<ApplicationReport> applications)
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetAllApplicationsResponsePBImpl

public GetAllApplicationsResponsePBImpl()

GetAllApplicationsResponsePBImpl

public GetAllApplicationsResponsePBImpl(YarnServiceProtos.GetAllApplicationsResponseProto proto)
Method Detail

getApplicationList

public List<ApplicationReport> getApplicationList()
Description copied from interface: GetAllApplicationsResponse
Get ApplicationReport for all applications.

Specified by:
getApplicationList in interface GetAllApplicationsResponse
Returns:
ApplicationReport for all applications

setApplicationList

public void setApplicationList(List<ApplicationReport> applications)
Specified by:
setApplicationList in interface GetAllApplicationsResponse

getProto

public YarnServiceProtos.GetAllApplicationsResponseProto getProto()
Specified by:
getProto in class ProtoBase<YarnServiceProtos.GetAllApplicationsResponseProto>


Copyright © 2012 Apache Software Foundation. All Rights Reserved.