Class FilterPredicate

  • All Implemented Interfaces:
    com.google.common.base.Predicate<String>

    public class FilterPredicate
    extends Object
    implements com.google.common.base.Predicate<String>
    A predicate which selects classes to process based on a filter.

    This filter will determine if the filter is active on instantiation, so should only be instantiated when it is ready to be used.

    Author:
    Pete Muir
    • Constructor Detail

      • FilterPredicate

        public FilterPredicate​(org.jboss.weld.bootstrap.spi.Metadata<org.jboss.weld.bootstrap.spi.Filter> filter,
                               org.jboss.weld.resources.spi.ResourceLoader resourceLoader)
    • Method Detail

      • apply

        public boolean apply​(String className)
        Specified by:
        apply in interface com.google.common.base.Predicate<String>