Package org.opennms.netmgt.dao.util
Class Forward
- java.lang.Object
-
- org.opennms.netmgt.dao.util.Forward
-
public abstract class Forward extends java.lang.Object
This is an utility class used to format the event forward info - to be inserted into the 'events' table- Version:
- $Id: $
- Author:
- Brian Weaver , OpenNMS , Brian Weaver , OpenNMS
-
-
Constructor Summary
Constructors Constructor Description Forward()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
format(Forward fwd)
Format each forward entrystatic java.lang.String
format(Forward[] forwards, int sz)
Format the array of forward entries of the event
-
-
-
Method Detail
-
format
public static java.lang.String format(Forward fwd)
Format each forward entry- Parameters:
fwd
- the entry- Returns:
- the formatted string
-
format
public static java.lang.String format(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
-
-