Enum ScanSpec.ScanSpecPathMatch

java.lang.Object
java.lang.Enum<ScanSpec.ScanSpecPathMatch>
nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
All Implemented Interfaces:
Serializable, Comparable<ScanSpec.ScanSpecPathMatch>, java.lang.constant.Constable
Enclosing class:
ScanSpec

public static enum ScanSpec.ScanSpecPathMatch extends Enum<ScanSpec.ScanSpecPathMatch>
Whether a path is a descendant of a rejected path, or an ancestor or descendant of an accepted path.
  • Enum Constant Details

    • HAS_REJECTED_PATH_PREFIX

      public static final ScanSpec.ScanSpecPathMatch HAS_REJECTED_PATH_PREFIX
      Path starts with (or is) a rejected path prefix.
    • HAS_ACCEPTED_PATH_PREFIX

      public static final ScanSpec.ScanSpecPathMatch HAS_ACCEPTED_PATH_PREFIX
      Path starts with an accepted path prefix.
    • AT_ACCEPTED_PATH

      public static final ScanSpec.ScanSpecPathMatch AT_ACCEPTED_PATH
      Path is accepted.
    • ANCESTOR_OF_ACCEPTED_PATH

      public static final ScanSpec.ScanSpecPathMatch ANCESTOR_OF_ACCEPTED_PATH
      Path is an ancestor of an accepted path.
    • AT_ACCEPTED_CLASS_PACKAGE

      public static final ScanSpec.ScanSpecPathMatch AT_ACCEPTED_CLASS_PACKAGE
      Path is the package of a specifically-accepted class.
    • NOT_WITHIN_ACCEPTED_PATH

      public static final ScanSpec.ScanSpecPathMatch NOT_WITHIN_ACCEPTED_PATH
      Path is not accepted and not rejected.
  • Constructor Details

    • ScanSpecPathMatch

      private ScanSpecPathMatch()
  • Method Details

    • values

      public static ScanSpec.ScanSpecPathMatch[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ScanSpec.ScanSpecPathMatch valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null