org.jclouds.ec2.predicates
Class SnapshotCompleted

java.lang.Object
  extended by org.jclouds.ec2.predicates.SnapshotCompleted
All Implemented Interfaces:
com.google.common.base.Predicate<Snapshot>

@Singleton
public class SnapshotCompleted
extends Object
implements com.google.common.base.Predicate<Snapshot>

Tests to see if a snapshot is completed.

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
SnapshotCompleted(ElasticBlockStoreClient client)
           
 
Method Summary
 boolean apply(Snapshot snapshot)
           
 
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

SnapshotCompleted

@Inject
public SnapshotCompleted(ElasticBlockStoreClient client)
Method Detail

apply

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


Copyright © 2009-2011 jclouds. All Rights Reserved.