org.jclouds.cloudservers.predicates
Class ServerActive
java.lang.Object
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
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 |
logger
protected Logger logger
ServerActive
@Inject
public ServerActive(CloudServersClient client)
apply
public boolean apply(Server server)
- Specified by:
apply
in interface com.google.common.base.Predicate<Server>
Copyright © 2009-2011 jclouds. All Rights Reserved.