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