org.apache.hadoop.yarn.api.records.impl.pb
Class QueueUserACLInfoPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnProtos.QueueUserACLInfoProto>
      extended by org.apache.hadoop.yarn.api.records.impl.pb.QueueUserACLInfoPBImpl
All Implemented Interfaces:
QueueUserACLInfo

public class QueueUserACLInfoPBImpl
extends ProtoBase<YarnProtos.QueueUserACLInfoProto>
implements QueueUserACLInfo


Constructor Summary
QueueUserACLInfoPBImpl()
           
QueueUserACLInfoPBImpl(YarnProtos.QueueUserACLInfoProto proto)
           
 
Method Summary
 YarnProtos.QueueUserACLInfoProto getProto()
           
 String getQueueName()
          Get the queue name of the queue.
 List<QueueACL> getUserAcls()
          Get the list of QueueACL for the given user.
 void setQueueName(String queueName)
           
 void setUserAcls(List<QueueACL> userAclsList)
           
 
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

QueueUserACLInfoPBImpl

public QueueUserACLInfoPBImpl()

QueueUserACLInfoPBImpl

public QueueUserACLInfoPBImpl(YarnProtos.QueueUserACLInfoProto proto)
Method Detail

getQueueName

public String getQueueName()
Description copied from interface: QueueUserACLInfo
Get the queue name of the queue.

Specified by:
getQueueName in interface QueueUserACLInfo
Returns:
queue name of the queue

getUserAcls

public List<QueueACL> getUserAcls()
Description copied from interface: QueueUserACLInfo
Get the list of QueueACL for the given user.

Specified by:
getUserAcls in interface QueueUserACLInfo
Returns:
list of QueueACL for the given user

setQueueName

public void setQueueName(String queueName)
Specified by:
setQueueName in interface QueueUserACLInfo

setUserAcls

public void setUserAcls(List<QueueACL> userAclsList)
Specified by:
setUserAcls in interface QueueUserACLInfo

getProto

public YarnProtos.QueueUserACLInfoProto getProto()
Specified by:
getProto in class ProtoBase<YarnProtos.QueueUserACLInfoProto>


Copyright © 2012 Apache Software Foundation. All Rights Reserved.