Package org.jclouds.ec2.predicates
Class VolumeAttached
- java.lang.Object
-
- org.jclouds.ec2.predicates.VolumeAttached
-
- All Implemented Interfaces:
com.google.common.base.Predicate<Attachment>
,Predicate<Attachment>
@Singleton public class VolumeAttached extends Object implements com.google.common.base.Predicate<Attachment>
Tests to see if a volume is attached.
-
-
Constructor Summary
Constructors Constructor Description VolumeAttached(ElasticBlockStoreApi client)
-
-
-
Field Detail
-
logger
protected Logger logger
-
-
Constructor Detail
-
VolumeAttached
@Inject public VolumeAttached(ElasticBlockStoreApi client)
-
-
Method Detail
-
apply
public boolean apply(Attachment attachment)
- Specified by:
apply
in interfacecom.google.common.base.Predicate<Attachment>
-
-