org.jclouds.vcloud.director.v1_5.domain
Class TasksList

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.Resource
      extended by org.jclouds.vcloud.director.v1_5.domain.TasksList
All Implemented Interfaces:
Iterable<Task>, Collection<Task>, Set<Task>

public class TasksList
extends Resource
implements Set<Task>

Task List

Author:
Adrian Cole

Nested Class Summary
static class TasksList.Builder<B extends TasksList.Builder<B>>
           
 
Field Summary
 
Fields inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource
logger
 
Constructor Summary
protected TasksList()
           
  TasksList(TasksList.Builder<?> builder)
           
 
Method Summary
 boolean add(Task element)
           
 boolean addAll(Collection<? extends Task> collection)
           
static TasksList.Builder<?> builder()
           
 void clear()
           
 boolean contains(Object object)
           
 boolean containsAll(Collection<?> collection)
           
 boolean equals(Object o)
           
 String getName()
          Contains the name of the the entity.
 int hashCode()
           
 boolean isEmpty()
           
 Iterator<Task> iterator()
           
 boolean remove(Object object)
           
 boolean removeAll(Collection<?> collection)
           
 boolean retainAll(Collection<?> collection)
           
 int size()
           
 com.google.common.base.Objects.ToStringHelper string()
           
 Object[] toArray()
           
<T> T[]
toArray(T[] array)
           
 TasksList.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.Resource
clone, getHref, getLinks, getType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TasksList

public TasksList(TasksList.Builder<?> builder)

TasksList

protected TasksList()
Method Detail

builder

public static TasksList.Builder<?> builder()

toBuilder

public TasksList.Builder<?> toBuilder()
Overrides:
toBuilder in class Resource

getName

public String getName()
Contains the name of the the entity.


equals

public boolean equals(Object o)
Specified by:
equals in interface Collection<Task>
Specified by:
equals in interface Set<Task>
Overrides:
equals in class Resource

hashCode

public int hashCode()
Specified by:
hashCode in interface Collection<Task>
Specified by:
hashCode in interface Set<Task>
Overrides:
hashCode in class Resource

string

public com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class Resource

iterator

public Iterator<Task> iterator()
Specified by:
iterator in interface Iterable<Task>
Specified by:
iterator in interface Collection<Task>
Specified by:
iterator in interface Set<Task>

size

public int size()
Specified by:
size in interface Collection<Task>
Specified by:
size in interface Set<Task>

removeAll

public boolean removeAll(Collection<?> collection)
Specified by:
removeAll in interface Collection<Task>
Specified by:
removeAll in interface Set<Task>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<Task>
Specified by:
isEmpty in interface Set<Task>

contains

public boolean contains(Object object)
Specified by:
contains in interface Collection<Task>
Specified by:
contains in interface Set<Task>

add

public boolean add(Task element)
Specified by:
add in interface Collection<Task>
Specified by:
add in interface Set<Task>

remove

public boolean remove(Object object)
Specified by:
remove in interface Collection<Task>
Specified by:
remove in interface Set<Task>

containsAll

public boolean containsAll(Collection<?> collection)
Specified by:
containsAll in interface Collection<Task>
Specified by:
containsAll in interface Set<Task>

addAll

public boolean addAll(Collection<? extends Task> collection)
Specified by:
addAll in interface Collection<Task>
Specified by:
addAll in interface Set<Task>

retainAll

public boolean retainAll(Collection<?> collection)
Specified by:
retainAll in interface Collection<Task>
Specified by:
retainAll in interface Set<Task>

clear

public void clear()
Specified by:
clear in interface Collection<Task>
Specified by:
clear in interface Set<Task>

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection<Task>
Specified by:
toArray in interface Set<Task>

toArray

public <T> T[] toArray(T[] array)
Specified by:
toArray in interface Collection<Task>
Specified by:
toArray in interface Set<Task>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.