public enum ScanningContext extends Enum<ScanningContext>
Enum Constant and Description |
---|
AUTH
The scan was made during an authentication phase
|
CONTENT
The scan was made during a simple code reading phase
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ScanningContext |
valueOf(int scanReportType) |
static ScanningContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanningContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanningContext AUTH
public static final ScanningContext CONTENT
public static ScanningContext[] values()
for (ScanningContext c : ScanningContext.values()) System.out.println(c);
public static ScanningContext valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ScanningContext valueOf(int scanReportType)
public int getValue()