public enum LogicalOp extends Enum<LogicalOp>
When ALL is specified, all detectors in a detection rule must trigger a match in order for the
finding to be reported. This is the equivalent of a logical "AND" operator.
When ANY is specified, only one of the detectors in a detection rule must trigger a match in order
for the finding to be reported. This is the equivalent of a logical "OR" operator.
| Modifier and Type | Method and Description |
|---|---|
static LogicalOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogicalOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static LogicalOp[] values()
for (LogicalOp c : LogicalOp.values()) System.out.println(c);
public static LogicalOp 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 nullCopyright © 2022. All rights reserved.