Package org.opennms.netmgt.xml.event
Class Script
- java.lang.Object
-
- org.opennms.netmgt.xml.event.Script
-
- All Implemented Interfaces:
Serializable
public class Script extends Object implements 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)
String
getContent()
Returns the value of field 'content'.String
getLanguage()
Returns the value of field 'language'.void
setContent(String content)
Sets the value of field 'content'.void
setLanguage(String language)
Sets the value of field 'language'.String
toString()
-
-
-
Method Detail
-
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'.
-
getLanguage
public String getLanguage()
Returns the value of field 'language'.- Returns:
- the value of field 'Language'.
-
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'.
-
setLanguage
public void setLanguage(String language)
Sets the value of field 'language'.- Parameters:
language
- the value of field 'language'.
-
-