Package org.opennms.netmgt.xml.event
Class Operaction
- java.lang.Object
-
- org.opennms.netmgt.xml.event.Operaction
-
- All Implemented Interfaces:
Serializable
public class Operaction extends Object implements 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)
String
getContent()
Returns the value of field 'content'.String
getMenutext()
Returns the value of field 'menutext'.String
getState()
Returns the value of field 'state'.void
setContent(String content)
Sets the value of field 'content'.void
setMenutext(String menutext)
Sets the value of field 'menutext'.void
setState(String state)
Sets the value of field 'state'.String
toString()
-
-
-
Method Detail
-
copyFrom
public static Operaction copyFrom(IOperAction source)
-
getContent
public 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 String getMenutext()
Returns the value of field 'menutext'.- Returns:
- the value of field 'Menutext'.
-
getState
public String getState()
Returns the value of field 'state'.- Returns:
- the value of field 'State'.
-
setContent
public void setContent(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(String menutext)
Sets the value of field 'menutext'.- Parameters:
menutext
- the value of field 'menutext'.
-
setState
public void setState(String state)
Sets the value of field 'state'.- Parameters:
state
- the value of field 'state'.
-
-