Package org.opennms.netmgt.xml.event
Class Operaction
- java.lang.Object
-
- org.opennms.netmgt.xml.event.Operaction
-
- All Implemented Interfaces:
java.io.Serializable
public class Operaction extends java.lang.Object implements java.io.Serializable
The operator action to be taken when this event occurs with state controlling if action takes place. The menutext gets displayed in the UI.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Operaction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Operaction
copyFrom(IOperAction source)
java.lang.String
getContent()
Returns the value of field 'content'.java.lang.String
getMenutext()
Returns the value of field 'menutext'.java.lang.String
getState()
Returns the value of field 'state'.void
setContent(java.lang.String content)
Sets the value of field 'content'.void
setMenutext(java.lang.String menutext)
Sets the value of field 'menutext'.void
setState(java.lang.String state)
Sets the value of field 'state'.java.lang.String
toString()
-
-
-
Method Detail
-
copyFrom
public static Operaction copyFrom(IOperAction source)
-
getContent
public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage- Returns:
- the value of field 'Content'.
-
getMenutext
public java.lang.String getMenutext()
Returns the value of field 'menutext'.- Returns:
- the value of field 'Menutext'.
-
getState
public java.lang.String getState()
Returns the value of field 'state'.- Returns:
- the value of field 'State'.
-
setContent
public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage- Parameters:
content
- the value of field 'content'.
-
setMenutext
public void setMenutext(java.lang.String menutext)
Sets the value of field 'menutext'.- Parameters:
menutext
- the value of field 'menutext'.
-
setState
public void setState(java.lang.String state)
Sets the value of field 'state'.- Parameters:
state
- the value of field 'state'.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-