org.opennms.netmgt.eventd.db
Class Forward
java.lang.Object
org.opennms.netmgt.eventd.db.Forward
public class Forward
- extends Object
This is an utility class used to format the event forward info - to be
inserted into the 'events' table
- Author:
- Brian Weaver , OpenNMS
|
Method Summary |
static String |
format(org.opennms.netmgt.xml.event.Forward fwd)
Format each forward entry |
static String |
format(org.opennms.netmgt.xml.event.Forward[] forwards,
int sz)
Format the array of forward entries of the event |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Forward
public Forward()
format
public static String format(org.opennms.netmgt.xml.event.Forward fwd)
- Format each forward entry
- Parameters:
fwd - the entry
- Returns:
- the formatted string
format
public static String format(org.opennms.netmgt.xml.event.Forward[] forwards,
int sz)
- Format the array of forward entries of the event
- Parameters:
forwards - the listsz - the size to which the formatted string is to be limited
to(usually the size of the column in the database)
- Returns:
- the formatted string
Copyright ? 2007. All Rights Reserved.