org.jclouds.cloudstack.predicates
Class CorrectHypervisorForZone
java.lang.Object
org.jclouds.cloudstack.predicates.CorrectHypervisorForZone
- All Implemented Interfaces:
- com.google.common.base.Function<Long,com.google.common.base.Predicate<Template>>
@Singleton
public class CorrectHypervisorForZone
- extends Object
- implements com.google.common.base.Function<Long,com.google.common.base.Predicate<Template>>
Templates can be present in a zone, and available, but not valid for launch
as their hypervisor isn't installed.
- 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.Function |
equals |
CorrectHypervisorForZone
@Inject
public CorrectHypervisorForZone(CloudStackClient client)
CorrectHypervisorForZone
public CorrectHypervisorForZone(com.google.common.base.Supplier<Map<Long,Set<String>>> hypervisorsSupplier)
apply
public com.google.common.base.Predicate<Template> apply(Long zoneId)
- Specified by:
apply in interface com.google.common.base.Function<Long,com.google.common.base.Predicate<Template>>
Copyright © 2009-2012 jclouds. All Rights Reserved.