Package org.opennms.netmgt.dao.util
Class Correlation
- java.lang.Object
-
- org.opennms.netmgt.dao.util.Correlation
-
public abstract class Correlation extends java.lang.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:
EventDatabaseConstants.VALUE_TRUNCATE_INDICATOR
-
-
Constructor Summary
Constructors Constructor Description Correlation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
format(Correlation ec, int sz)
Format the correlation block to have the xml
-
-
-
Method Detail
-
format
public static java.lang.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
-
-