org.jclouds.ec2.predicates
Class InstanceStateStopped

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

@Singleton
public class InstanceStateStopped
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
InstanceStateStopped(InstanceClient 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

InstanceStateStopped

@Inject
public InstanceStateStopped(InstanceClient client)
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.