org.jclouds.ec2.predicates
Class InstanceStateRunning

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

@Singleton
public class InstanceStateRunning
extends Object
implements com.google.common.base.Predicate<RunningInstance>

Tests to see if a task succeeds.


Field Summary
protected  org.jclouds.logging.Logger logger
           
 
Constructor Summary
InstanceStateRunning(EC2Api client)
           
 
Method Summary
 boolean apply(RunningInstance instance)
           
 
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

InstanceStateRunning

@Inject
public InstanceStateRunning(EC2Api client)
Method Detail

apply

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


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