Class VirtualMachineRunning
- java.lang.Object
-
- org.jclouds.cloudstack.predicates.VirtualMachineRunning
-
- All Implemented Interfaces:
com.google.common.base.Predicate<VirtualMachine>
,Predicate<VirtualMachine>
@Singleton public class VirtualMachineRunning extends Object implements com.google.common.base.Predicate<VirtualMachine>
Tests to see if a virtualMachine is running
-
-
Constructor Summary
Constructors Constructor Description VirtualMachineRunning(CloudStackApi client)
-
-
-
Field Detail
-
logger
protected Logger logger
-
-
Constructor Detail
-
VirtualMachineRunning
@Inject public VirtualMachineRunning(CloudStackApi client)
-
-
Method Detail
-
apply
public boolean apply(VirtualMachine virtualMachine)
- Specified by:
apply
in interfacecom.google.common.base.Predicate<VirtualMachine>
-
-