org.jclouds.compute.predicates
Class NodePresentAndInIntendedState
java.lang.Object
  
org.jclouds.compute.predicates.NodePresentAndInIntendedState
- All Implemented Interfaces: 
 - com.google.common.base.Predicate<NodeMetadata>
 
- Direct Known Subclasses: 
 - NodeRunning, NodeSuspended
 
@Singleton
public class NodePresentAndInIntendedState
- extends Object
- implements com.google.common.base.Predicate<NodeMetadata>
  
Tests to see if a node is active.
- 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
NodePresentAndInIntendedState
@Inject
public NodePresentAndInIntendedState(NodeState intended,
                                            ComputeService client)
apply
public boolean apply(NodeMetadata node)
- Specified by:
 apply in interface com.google.common.base.Predicate<NodeMetadata>
 
 
Copyright © 2009-2011 jclouds. All Rights Reserved.