public static enum SecurityDetectionService.DetectorResult extends Enum<SecurityDetectionService.DetectorResult>
Enum Constant and Description |
---|
NEGATIVE
In general, this result means the status is safe, there is no threat detected.
|
POSITIVE
In general, this result means the status is not safe, threat is detected.
|
Modifier and Type | Method and Description |
---|---|
static SecurityDetectionService.DetectorResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityDetectionService.DetectorResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityDetectionService.DetectorResult NEGATIVE
public static final SecurityDetectionService.DetectorResult POSITIVE
public static SecurityDetectionService.DetectorResult[] values()
for (SecurityDetectionService.DetectorResult c : SecurityDetectionService.DetectorResult.values()) System.out.println(c);
public static SecurityDetectionService.DetectorResult 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 null