Package org.jwall.web.audit.rules.operators

Examples of org.jwall.web.audit.rules.operators.ConditionGT.matches()


    {
        try {
            log.info( "Testing  SEVERITY @gt 4" );
            log.info( "   event SEVERITY: " + ValueExtractor.extractValues( AuditEvent.SEVERITY, event ) ); //event.getAll( AuditEvent.SEVERITY ) );
            Condition c = new ConditionGT( "SEVERITY", "4" );
            if( c.matches( event ) )
                fail( "Failed to match ConditionGT on SEVERITY with value '4' !" );
        } catch (Exception e) {
            fail( "Error: " + e.getMessage() );
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.