org.jclouds.cloudstack.predicates
Class JobComplete

java.lang.Object
  extended by org.jclouds.cloudstack.predicates.JobComplete
All Implemented Interfaces:
com.google.common.base.Predicate<Long>

@Singleton
public class JobComplete
extends Object
implements com.google.common.base.Predicate<Long>

Tests to see if a job is in progress.

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
JobComplete(CloudStackClient client)
           
 
Method Summary
 boolean apply(Long jobId)
           
 
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

JobComplete

@Inject
public JobComplete(CloudStackClient client)
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.