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
Whether a path is a descendant of a rejected path, or an ancestor or descendant of an accepted path.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPath is an ancestor of an accepted path.Path is the package of a specifically-accepted class.Path is accepted.Path starts with an accepted path prefix.Path starts with (or is) a rejected path prefix.Path is not accepted and not rejected. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScanSpec.ScanSpecPathMatch
Returns the enum constant of this type with the specified name.static ScanSpec.ScanSpecPathMatch[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HAS_REJECTED_PATH_PREFIX
Path starts with (or is) a rejected path prefix. -
HAS_ACCEPTED_PATH_PREFIX
Path starts with an accepted path prefix. -
AT_ACCEPTED_PATH
Path is accepted. -
ANCESTOR_OF_ACCEPTED_PATH
Path is an ancestor of an accepted path. -
AT_ACCEPTED_CLASS_PACKAGE
Path is the package of a specifically-accepted class. -
NOT_WITHIN_ACCEPTED_PATH
Path is not accepted and not rejected.
-
-
Constructor Details
-
ScanSpecPathMatch
private ScanSpecPathMatch()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-