org.jclouds.ec2.predicates
Class VolumeAttached

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

@Singleton
public class VolumeAttached
extends Object
implements com.google.common.base.Predicate<Attachment>

Tests to see if a volume is attached.

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
VolumeAttached(ElasticBlockStoreClient client)
           
 
Method Summary
 boolean apply(Attachment attachment)
           
 
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

VolumeAttached

@Inject
public VolumeAttached(ElasticBlockStoreClient client)
Method Detail

apply

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


Copyright © 2009-2011 jclouds. All Rights Reserved.