Package org.opennms.netmgt.dao.util
Class AutoAction
- java.lang.Object
-
- org.opennms.netmgt.dao.util.AutoAction
-
public abstract class AutoAction extends Object
This is an utility class used to format the event autoaction info - to be inserted into the 'events' table- Author:
- Sowmya Nataraj
-
-
Constructor Summary
Constructors Constructor Description AutoAction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
format(Autoaction autoact)
Format each autoaction entrystatic String
format(Autoaction[] autoacts, int sz)
Format the list of autoaction entries of the event
-
-
-
Method Detail
-
format
public static String format(Autoaction autoact)
Format each autoaction entry- Parameters:
autoact
- the entry- Returns:
- the formatted string
-
format
public static String format(Autoaction[] autoacts, int sz)
Format the list of autoaction entries of the event- Parameters:
autoacts
- 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
-
-