org.opennms.netmgt.protocols.xmp
Class XmpUtil

java.lang.Object
  extended by org.opennms.netmgt.protocols.xmp.XmpUtil

public class XmpUtil
extends Object

Author:
jeffg

Field Summary
static String EQUALS
           
static String GREATER_THAN
           
static String GREATER_THAN_EQUALS
           
static String LESS_THAN
           
static String LESS_THAN_EQUALS
           
static String MATCHES
           
static String NOT_EQUAL
           
 
Constructor Summary
XmpUtil()
           
 
Method Summary
static boolean handleScalarQuery(org.krupczak.Xmp.XmpSession session, String mib, String object, String valueOperator, String valueOperand, Category log, boolean caseSensitive)
           
static boolean handleTableQuery(org.krupczak.Xmp.XmpSession session, String mib, String table, String object, String instance, RE instanceRegex, String valueOperator, String valueOperand, int minMatches, int maxMatches, boolean maxMatchesUnbounded, Category log, boolean caseSensitive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LESS_THAN

public static final String LESS_THAN
See Also:
Constant Field Values

GREATER_THAN

public static final String GREATER_THAN
See Also:
Constant Field Values

LESS_THAN_EQUALS

public static final String LESS_THAN_EQUALS
See Also:
Constant Field Values

GREATER_THAN_EQUALS

public static final String GREATER_THAN_EQUALS
See Also:
Constant Field Values

EQUALS

public static final String EQUALS
See Also:
Constant Field Values

NOT_EQUAL

public static final String NOT_EQUAL
See Also:
Constant Field Values

MATCHES

public static final String MATCHES
See Also:
Constant Field Values
Constructor Detail

XmpUtil

public XmpUtil()
Method Detail

handleScalarQuery

public static boolean handleScalarQuery(org.krupczak.Xmp.XmpSession session,
                                        String mib,
                                        String object,
                                        String valueOperator,
                                        String valueOperand,
                                        Category log,
                                        boolean caseSensitive)
                                 throws XmpUtilException
Throws:
XmpUtilException

handleTableQuery

public static boolean handleTableQuery(org.krupczak.Xmp.XmpSession session,
                                       String mib,
                                       String table,
                                       String object,
                                       String instance,
                                       RE instanceRegex,
                                       String valueOperator,
                                       String valueOperand,
                                       int minMatches,
                                       int maxMatches,
                                       boolean maxMatchesUnbounded,
                                       Category log,
                                       boolean caseSensitive)
                                throws XmpUtilException
Throws:
XmpUtilException


Copyright © 2009. All Rights Reserved.