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.

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
InstanceStateRunning(EC2Client 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 Logger logger
Constructor Detail

InstanceStateRunning

@Inject
public InstanceStateRunning(EC2Client client)
Method Detail

apply

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


Copyright © 2009-2011 jclouds. All Rights Reserved.