public class TargAttrFilters extends Object
| Modifier and Type | Method and Description |
|---|---|
static TargAttrFilters |
decode(EnumTargetOperator type,
String expression)
Decode an targattrfilter rule.
|
boolean |
hasMask(int mask)
Return true if the TargAttrFilters mask contains the specified mask.
|
boolean |
isApplicableAddDel(AciTargetMatchContext matchCtx)
Check if this TargAttrFilters object is applicable to the specified
target match context.
|
boolean |
isApplicableMod(AciTargetMatchContext matchCtx,
Aci aci)
Check if this TargAttrFilters object is applicable to the target
specified match context.
|
public static TargAttrFilters decode(EnumTargetOperator type, String expression) throws AciException
type - The enumeration representing the type of this rule. Defaults
to equality for this target.expression - The string expression to be decoded.AciException - If the expression string contains errors and
cannot be decoded.public boolean isApplicableMod(AciTargetMatchContext matchCtx, Aci aci)
matchCtx - The target match context containing the information
needed to match.aci - The ACI currently being evaluated for a target match.public boolean isApplicableAddDel(AciTargetMatchContext matchCtx)
matchCtx - The target match context containing the information
needed to match.public boolean hasMask(int mask)
mask - The mask to check for.Copyright © 2010-2020 Wren Security. All Rights Reserved.