org.apache.hadoop.yarn.api.records
Class QueueUserACLInfo

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.QueueUserACLInfo

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class QueueUserACLInfo
extends Object

QueueUserACLInfo provides information QueueACL for the given user.

See Also:
QueueACL, ApplicationClientProtocol.getQueueUserAcls(org.apache.hadoop.yarn.api.protocolrecords.GetQueueUserAclsInfoRequest)

Constructor Summary
QueueUserACLInfo()
           
 
Method Summary
abstract  String getQueueName()
          Get the queue name of the queue.
abstract  List<QueueACL> getUserAcls()
          Get the list of QueueACL for the given user.
static QueueUserACLInfo newInstance(String queueName, List<QueueACL> acls)
           
abstract  void setQueueName(String queueName)
           
abstract  void setUserAcls(List<QueueACL> acls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueUserACLInfo

public QueueUserACLInfo()
Method Detail

newInstance

@InterfaceAudience.Private
@InterfaceStability.Unstable
public static QueueUserACLInfo newInstance(String queueName,
                                                                                                 List<QueueACL> acls)

getQueueName

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract String getQueueName()
Get the queue name of the queue.

Returns:
queue name of the queue

setQueueName

@InterfaceAudience.Private
@InterfaceStability.Unstable
public abstract void setQueueName(String queueName)

getUserAcls

@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract List<QueueACL> getUserAcls()
Get the list of QueueACL for the given user.

Returns:
list of QueueACL for the given user

setUserAcls

@InterfaceAudience.Private
@InterfaceStability.Unstable
public abstract void setUserAcls(List<QueueACL> acls)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.