Enum Class ScanCheckType
- All Implemented Interfaces:
Serializable
,Comparable<ScanCheckType>
,Constable
The type of scan check (
ActiveScanCheck
or PassiveScanCheck
) that will be run.
The scan check type defines the point a scan check is invoked by the Scanner.
The following scan check types are available:
PER_HOST
,
PER_REQUEST
,
PER_INSERTION_POINT
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Scanner invokes the scan check once for each host.The Scanner invokes the scan check once for each insertion point.The Scanner invokes the scan check once for each request. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScanCheckType
Returns the enum constant of this class with the specified name.static ScanCheckType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PER_HOST
The Scanner invokes the scan check once for each host. -
PER_REQUEST
The Scanner invokes the scan check once for each request. -
PER_INSERTION_POINT
The Scanner invokes the scan check once for each insertion point. Note: Only applicable toActiveScanCheck
. Registering aPassiveScanCheck
usingScanner.registerPassiveScanCheck(PassiveScanCheck, ScanCheckType)
with this type will throw anIllegalArgumentException
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-