org.jclouds.vcloud.predicates
Class TaskSuccess

java.lang.Object
  extended by org.jclouds.vcloud.predicates.TaskSuccess
All Implemented Interfaces:
com.google.common.base.Predicate<URI>

@Singleton
public class TaskSuccess
extends Object
implements com.google.common.base.Predicate<URI>

Tests to see if a task succeeds.

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
TaskSuccess(VCloudClient client)
           
 
Method Summary
 boolean apply(URI taskId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Predicate
equals
 

Field Detail

logger

protected Logger logger
Constructor Detail

TaskSuccess

@Inject
public TaskSuccess(VCloudClient client)
Method Detail

apply

public boolean apply(URI taskId)
Specified by:
apply in interface com.google.common.base.Predicate<URI>


Copyright © 2009-2011 jclouds. All Rights Reserved.