com.cloudera.api.model
Class ApiSnapshotCommandList
java.lang.Object
com.cloudera.api.model.ApiSnapshotCommandList
- All Implemented Interfaces:
- Iterable<ApiSnapshotCommand>
public class ApiSnapshotCommandList
- extends Object
A list of snapshot commands.
ITEMS_ATTR
public static final String ITEMS_ATTR
- See Also:
- Constant Field Values
values
protected List<T> values
ApiSnapshotCommandList
public ApiSnapshotCommandList()
ApiSnapshotCommandList
public ApiSnapshotCommandList(List<ApiSnapshotCommand> commands)
getCommands
public List<ApiSnapshotCommand> getCommands()
setCommands
public void setCommands(List<ApiSnapshotCommand> commands)
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.