org.jclouds.cloudstack.predicates
Class OSCategoryIn
java.lang.Object
org.jclouds.cloudstack.predicates.OSCategoryIn
- All Implemented Interfaces:
- com.google.common.base.Function<Set<String>,com.google.common.base.Predicate<Template>>
@Singleton
public class OSCategoryIn
- extends Object
- implements com.google.common.base.Function<Set<String>,com.google.common.base.Predicate<Template>>
- 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 |
OSCategoryIn
@Inject
public OSCategoryIn(CloudStackClient client)
OSCategoryIn
public OSCategoryIn(com.google.common.base.Supplier<Map<Long,String>> categoriesSupplier,
com.google.common.base.Supplier<Set<OSType>> osTypesSupplier)
apply
public com.google.common.base.Predicate<Template> apply(Set<String> acceptableCategories)
- Specified by:
apply
in interface com.google.common.base.Function<Set<String>,com.google.common.base.Predicate<Template>>
Copyright © 2009-2012 jclouds. All Rights Reserved.