Package org.opennms.netmgt.xml.event
Class Forward
- java.lang.Object
-
- org.opennms.netmgt.xml.event.Forward
-
- All Implemented Interfaces:
java.io.Serializable
public class Forward extends java.lang.Object implements java.io.Serializable
The forwarding information for this event - state determines if event is forwarded, mechanism determines how event is forwarded .- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Forward()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Forward
copyFrom(IForward source)
java.lang.String
getContent()
Returns the value of field 'content'.java.lang.String
getMechanism()
Returns the value of field 'mechanism'.java.lang.String
getState()
Returns the value of field 'state'.void
setContent(java.lang.String content)
Sets the value of field 'content'.void
setMechanism(java.lang.String mechanism)
Sets the value of field 'mechanism'.void
setState(java.lang.String state)
Sets the value of field 'state'.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'.
-
getMechanism
public java.lang.String getMechanism()
Returns the value of field 'mechanism'.- Returns:
- the value of field 'Mechanism'.
-
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'.
-
setMechanism
public void setMechanism(java.lang.String mechanism)
Sets the value of field 'mechanism'.- Parameters:
mechanism
- the value of field 'mechanism'.
-
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
-
-