Class OSCategoryIn

  • All Implemented Interfaces:
    com.google.common.base.Function<Set<String>,​com.google.common.base.Predicate<Template>>, 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>>
    • Constructor Detail

      • OSCategoryIn

        @Inject
        public OSCategoryIn​(CloudStackApi client)
      • OSCategoryIn

        public OSCategoryIn​(com.google.common.base.Supplier<Map<String,​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>>
        Specified by:
        apply in interface Function<Set<String>,​com.google.common.base.Predicate<Template>>