org.jclouds.cloudstack.predicates
Class OSCategoryIn

java.lang.Object
  extended by 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

Constructor Summary
OSCategoryIn(CloudStackClient client)
           
OSCategoryIn(com.google.common.base.Supplier<Map<Long,String>> categoriesSupplier, com.google.common.base.Supplier<Set<OSType>> osTypesSupplier)
           
 
Method Summary
 com.google.common.base.Predicate<Template> apply(Set<String> acceptableCategories)
           
 
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
 

Constructor Detail

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)
Method Detail

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.