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