org.jclouds.cloudservers.predicates
Class ServerActive

java.lang.Object
  extended by org.jclouds.cloudservers.predicates.ServerActive
All Implemented Interfaces:
com.google.common.base.Predicate<Server>

@Singleton
public class ServerActive
extends Object
implements com.google.common.base.Predicate<Server>

Tests to see if a task succeeds.

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
ServerActive(CloudServersClient client)
           
 
Method Summary
 boolean apply(Server server)
           
 
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

ServerActive

@Inject
public ServerActive(CloudServersClient client)
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.