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.


Field Summary
protected  org.jclouds.logging.Logger logger
           
 
Constructor Summary
VolumeAttached(ElasticBlockStoreApi 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 org.jclouds.logging.Logger logger
Constructor Detail

VolumeAttached

@Inject
public VolumeAttached(ElasticBlockStoreApi client)
Method Detail

apply

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.