com.cloudera.api.model
Class ApiYarnApplicationAttributeList

java.lang.Object
  extended by com.cloudera.api.model.ApiYarnApplicationAttributeList
All Implemented Interfaces:
Iterable<ApiYarnApplicationAttribute>

public class ApiYarnApplicationAttributeList
extends Object

The list of all attributes that are applicable to YARN applications.


Field Summary
static String ITEMS_ATTR
           
protected  List<T> values
           
 
Constructor Summary
ApiYarnApplicationAttributeList()
           
ApiYarnApplicationAttributeList(List<ApiYarnApplicationAttribute> attributes)
           
 
Method Summary
 boolean add(T item)
           
 boolean equals(Object o)
           
 T get(int index)
           
 List<ApiYarnApplicationAttribute> getAttributes()
           
 int hashCode()
           
 Iterator<T> iterator()
           
 void setAttributes(List<ApiYarnApplicationAttribute> values)
          Sets the list of attributes.
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ITEMS_ATTR

public static final String ITEMS_ATTR
See Also:
Constant Field Values

values

protected List<T> values
Constructor Detail

ApiYarnApplicationAttributeList

public ApiYarnApplicationAttributeList()

ApiYarnApplicationAttributeList

public ApiYarnApplicationAttributeList(List<ApiYarnApplicationAttribute> attributes)
Method Detail

getAttributes

public List<ApiYarnApplicationAttribute> getAttributes()
Returns:
The list of attributes.

setAttributes

public void setAttributes(List<ApiYarnApplicationAttribute> values)
Sets the list of attributes.


add

public boolean add(T item)

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T>

size

public int size()

get

public T get(int index)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.