public final class Target extends Object
Modifier and Type | Method and Description |
---|---|
static Target |
decode(EnumTargetOperator operator,
String expr,
Dn aciDN)
Decode an expression string representing a target keyword expression.
|
Dn |
getDN()
Returns the URL DN of the expression.
|
EnumTargetOperator |
getOperator()
Returns the operator of this expression.
|
boolean |
isPattern()
Returns boolean if a pattern was seen during parsing.
|
boolean |
matchesPattern(Dn dn)
This method tries to match a pattern against a DN.
|
public static Target decode(EnumTargetOperator operator, String expr, Dn aciDN) throws AciException
operator
- An enumeration of the operation of this target.expr
- A string representation of the target.aciDN
- The DN of the ACI entry used for a descendant check.AciException
- If the expression string is invalid.public EnumTargetOperator getOperator()
public Dn getDN()
public boolean isPattern()
public boolean matchesPattern(Dn dn)
dn
- The DN to try an match.Copyright 2010-2020 ForgeRock AS.