org.opennms.netmgt.eventd.db
Class Correlation
java.lang.Object
org.opennms.netmgt.eventd.db.Correlation
public class Correlation
- extends Object
This is an utility class used to format the event correlation info - to be
inserted into the 'events' table - it simply returns the correlation as an
'XML' block
- Author:
- Sowmya Kumaraswamy , OpenNMS
- See Also:
Constants.VALUE_TRUNCATE_INDICATOR
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Correlation
public Correlation()
format
public static String format(Correlation ec,
int sz)
- Format the correlation block to have the xml
- Parameters:
ec - the correlationsz - the size to which the formatted string is to be limited
to(usually the size of the column in the database)
- Returns:
- the formatted event correlation
Copyright © 2009. All Rights Reserved.