Class ExtOp


  • public final class ExtOp
    extends Object
    This class represents an ACI's extop keyword rule.
    • Method Detail

      • decode

        public static ExtOp decode​(EnumTargetOperator operator,
                                   String expr)
                            throws AciException
        Decode an extop expression string.
        Parameters:
        operator - An enumeration representing the operator type.
        expr - A string representing the extop expression.
        Returns:
        A class representing the extop expression that can be used to evaluate an ACI.
        Throws:
        AciException - If the specified expression string is invalid.
      • isApplicable

        public boolean isApplicable​(AciTargetMatchContext matchCtx)
        Check if a extop is applicable based on the provided target match context.
        Parameters:
        matchCtx - The target match context to use in the check.
        Returns:
        True if the extop is applicable based on the context.