org.jclouds.trmk.vcloud_0_8.predicates
Class TaskSuccess

java.lang.Object
  extended by org.jclouds.trmk.vcloud_0_8.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(TerremarkVCloudClient 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(TerremarkVCloudClient client)
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.