Class ExcludeIncludeFilter

  • All Implemented Interfaces:
    Filter

    public class ExcludeIncludeFilter
    extends java.lang.Object
    implements Filter
    First, all Exclude directives are evaluated; if any match, the className is denied unless it also matches an Include directive. Any classNames which do not match any Include or Exclude directives are permitted.
    • Field Detail

      • include

        private final Filter include
      • exclude

        private final Filter exclude
    • Constructor Detail

      • ExcludeIncludeFilter

        public ExcludeIncludeFilter​(Filter include,
                                    Filter exclude)
    • Method Detail

      • accept

        public boolean accept​(java.lang.String name)
        Specified by:
        accept in interface Filter
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object