Package org.jwall.audit

Examples of org.jwall.audit.Match


  static Logger log = LoggerFactory.getLogger(FilterCompiler.class);

  public Condition createCondition(FilterExpression e) throws SyntaxException {
    if (e instanceof Match) {
      Match m = (Match) e;
      return AbstractCondition.createCondition(m.getOp(),
          m.getVariable(), m.getValue());
    }

    throw new FilterException(
        "Don't know how to compile condition from expression " + e
            + "!");
View Full Code Here


      return (Match) e;
    }

    if (e instanceof AuditEventMatch) {
      AuditEventMatch aem = (AuditEventMatch) e;
      return new Match(aem.getVariable(), aem.getOp(), aem.getValue());
    }

    return null;
  }
View Full Code Here

TOP

Related Classes of org.jwall.audit.Match

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.