Package org.opennms.netmgt.dao.util
Class OperatorAction
- java.lang.Object
-
- org.opennms.netmgt.dao.util.OperatorAction
-
public abstract class OperatorAction extends Object
This is an utility class used to format the event operator actions info - to be inserted into the 'events' table. This class only uses the operator action and operator state information - the operator menu goes into a separate database field- Version:
- $Id: $
- Author:
- Sowmya Nataraj , OpenNMS , Sowmya Nataraj , OpenNMS
-
-
Constructor Summary
Constructors Constructor Description OperatorAction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
format(List<Operaction> opacts, int sz)
Format the list of operator action entries of the eventstatic String
format(Operaction opact)
Format each operator action entry
-
-
-
Method Detail
-
format
public static String format(Operaction opact)
Format each operator action entry- Parameters:
opact
- the entry- Returns:
- the formatted string
-
format
public static String format(List<Operaction> opacts, int sz)
Format the list of operator action entries of the event- Parameters:
opacts
- 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
-
-