Package org.opennms.netmgt.xml.event
Class Script
- java.lang.Object
-
- org.opennms.netmgt.xml.event.Script
-
- All Implemented Interfaces:
java.io.Serializable
public class Script extends java.lang.Object implements java.io.Serializable
The script information for this event - describes a script to be executed whenever the event occurs.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Script()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Script
copyFrom(IScript source)
java.lang.String
getContent()
Returns the value of field 'content'.java.lang.String
getLanguage()
Returns the value of field 'language'.void
setContent(java.lang.String content)
Sets the value of field 'content'.void
setLanguage(java.lang.String language)
Sets the value of field 'language'.java.lang.String
toString()
-
-
-
Method Detail
-
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'.
-
getLanguage
public java.lang.String getLanguage()
Returns the value of field 'language'.- Returns:
- the value of field 'Language'.
-
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'.
-
setLanguage
public void setLanguage(java.lang.String language)
Sets the value of field 'language'.- Parameters:
language
- the value of field 'language'.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-