org.jclouds.cloudstack.predicates
Class VirtualMachineRunning

java.lang.Object
  extended by org.jclouds.cloudstack.predicates.VirtualMachineRunning
All Implemented Interfaces:
com.google.common.base.Predicate<VirtualMachine>

@Singleton
public class VirtualMachineRunning
extends Object
implements com.google.common.base.Predicate<VirtualMachine>

Tests to see if a virtualMachine is running

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
VirtualMachineRunning(CloudStackClient client)
           
 
Method Summary
 boolean apply(VirtualMachine virtualMachine)
           
 
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

VirtualMachineRunning

@Inject
public VirtualMachineRunning(CloudStackClient client)
Method Detail

apply

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


Copyright © 2009-2012 jclouds. All Rights Reserved.