|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.xml.eventconf.Event
Field Summary | |
private Autoacknowledge |
_autoacknowledge
|
private java.util.ArrayList |
_autoactionList
|
private Correlation |
_correlation
|
private java.lang.String |
_descr
|
private java.lang.String |
_eventLabel
|
private java.util.ArrayList |
_forwardList
|
private java.util.ArrayList |
_loggroupList
|
private Logmsg |
_logmsg
|
private Mask |
_mask
|
private java.lang.String |
_mouseovertext
|
private java.util.ArrayList |
_operactionList
|
private java.lang.String |
_operinstruct
|
private java.util.ArrayList |
_scriptList
|
private java.lang.String |
_severity
|
private Snmp |
_snmp
|
private Tticket |
_tticket
|
private java.lang.String |
_uei
|
private java.util.Vector |
propertyChangeListeners
|
Constructor Summary | |
Event()
|
Method Summary | |
void |
addAutoaction(Autoaction vAutoaction)
|
void |
addAutoaction(int index,
Autoaction vAutoaction)
|
void |
addForward(Forward vForward)
|
void |
addForward(int index,
Forward vForward)
|
void |
addLoggroup(int index,
java.lang.String vLoggroup)
|
void |
addLoggroup(java.lang.String vLoggroup)
|
void |
addOperaction(int index,
Operaction vOperaction)
|
void |
addOperaction(Operaction vOperaction)
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Registers a PropertyChangeListener with this class. |
void |
addScript(int index,
Script vScript)
|
void |
addScript(Script vScript)
|
void |
clearAutoaction()
|
void |
clearForward()
|
void |
clearLoggroup()
|
void |
clearOperaction()
|
void |
clearScript()
|
java.util.Enumeration |
enumerateAutoaction()
|
java.util.Enumeration |
enumerateForward()
|
java.util.Enumeration |
enumerateLoggroup()
|
java.util.Enumeration |
enumerateOperaction()
|
java.util.Enumeration |
enumerateScript()
|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
Autoacknowledge |
getAutoacknowledge()
Returns the value of field 'autoacknowledge'. |
Autoaction[] |
getAutoaction()
|
Autoaction |
getAutoaction(int index)
|
java.util.Collection |
getAutoactionCollection()
|
int |
getAutoactionCount()
|
Correlation |
getCorrelation()
Returns the value of field 'correlation'. |
java.lang.String |
getDescr()
Returns the value of field 'descr'. |
java.lang.String |
getEventLabel()
Returns the value of field 'eventLabel'. |
Forward[] |
getForward()
|
Forward |
getForward(int index)
|
java.util.Collection |
getForwardCollection()
|
int |
getForwardCount()
|
java.lang.String[] |
getLoggroup()
|
java.lang.String |
getLoggroup(int index)
|
java.util.Collection |
getLoggroupCollection()
|
int |
getLoggroupCount()
|
Logmsg |
getLogmsg()
Returns the value of field 'logmsg'. |
Mask |
getMask()
Returns the value of field 'mask'. |
java.lang.String |
getMouseovertext()
Returns the value of field 'mouseovertext'. |
Operaction[] |
getOperaction()
|
Operaction |
getOperaction(int index)
|
java.util.Collection |
getOperactionCollection()
|
int |
getOperactionCount()
|
java.lang.String |
getOperinstruct()
Returns the value of field 'operinstruct'. |
Script[] |
getScript()
|
Script |
getScript(int index)
|
java.util.Collection |
getScriptCollection()
|
int |
getScriptCount()
|
java.lang.String |
getSeverity()
Returns the value of field 'severity'. |
Snmp |
getSnmp()
Returns the value of field 'snmp'. |
Tticket |
getTticket()
Returns the value of field 'tticket'. |
java.lang.String |
getUei()
Returns the value of field 'uei'. |
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
protected void |
notifyPropertyChangeListeners(java.lang.String fieldName,
java.lang.Object oldValue,
java.lang.Object newValue)
Notifies all registered PropertyChangeListeners when a bound property's value changes. |
boolean |
removeAutoaction(Autoaction vAutoaction)
|
boolean |
removeForward(Forward vForward)
|
boolean |
removeLoggroup(java.lang.String vLoggroup)
|
boolean |
removeOperaction(Operaction vOperaction)
|
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes the given PropertyChangeListener from this classes list of ProperyChangeListeners. |
boolean |
removeScript(Script vScript)
|
void |
setAutoacknowledge(Autoacknowledge autoacknowledge)
Sets the value of field 'autoacknowledge'. |
void |
setAutoaction(Autoaction[] autoactionArray)
|
void |
setAutoaction(int index,
Autoaction vAutoaction)
|
void |
setAutoactionCollection(java.util.Collection vAutoaction)
|
void |
setCorrelation(Correlation correlation)
Sets the value of field 'correlation'. |
void |
setDescr(java.lang.String descr)
Sets the value of field 'descr'. |
void |
setEventLabel(java.lang.String eventLabel)
Sets the value of field 'eventLabel'. |
void |
setForward(Forward[] forwardArray)
|
void |
setForward(int index,
Forward vForward)
|
void |
setForwardCollection(java.util.Collection vForward)
|
void |
setLoggroup(int index,
java.lang.String vLoggroup)
|
void |
setLoggroup(java.lang.String[] loggroupArray)
|
void |
setLoggroupCollection(java.util.Collection vLoggroup)
|
void |
setLogmsg(Logmsg logmsg)
Sets the value of field 'logmsg'. |
void |
setMask(Mask mask)
Sets the value of field 'mask'. |
void |
setMouseovertext(java.lang.String mouseovertext)
Sets the value of field 'mouseovertext'. |
void |
setOperaction(int index,
Operaction vOperaction)
|
void |
setOperaction(Operaction[] operactionArray)
|
void |
setOperactionCollection(java.util.Collection vOperaction)
|
void |
setOperinstruct(java.lang.String operinstruct)
Sets the value of field 'operinstruct'. |
void |
setScript(int index,
Script vScript)
|
void |
setScript(Script[] scriptArray)
|
void |
setScriptCollection(java.util.Collection vScript)
|
void |
setSeverity(java.lang.String severity)
Sets the value of field 'severity'. |
void |
setSnmp(Snmp snmp)
Sets the value of field 'snmp'. |
void |
setTticket(Tticket tticket)
Sets the value of field 'tticket'. |
void |
setUei(java.lang.String uei)
Sets the value of field 'uei'. |
static Event |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Mask _mask
private java.lang.String _uei
private java.lang.String _eventLabel
private Snmp _snmp
private java.lang.String _descr
private Logmsg _logmsg
private java.lang.String _severity
private Correlation _correlation
private java.lang.String _operinstruct
private java.util.ArrayList _autoactionList
private java.util.ArrayList _operactionList
private Autoacknowledge _autoacknowledge
private java.util.ArrayList _loggroupList
private Tticket _tticket
private java.util.ArrayList _forwardList
private java.util.ArrayList _scriptList
private java.lang.String _mouseovertext
private java.util.Vector propertyChangeListeners
Constructor Detail |
public Event()
Method Detail |
public void addAutoaction(Autoaction vAutoaction) throws java.lang.IndexOutOfBoundsException
vAutoaction
-
java.lang.IndexOutOfBoundsException
public void addAutoaction(int index, Autoaction vAutoaction) throws java.lang.IndexOutOfBoundsException
index
- vAutoaction
-
java.lang.IndexOutOfBoundsException
public void addForward(Forward vForward) throws java.lang.IndexOutOfBoundsException
vForward
-
java.lang.IndexOutOfBoundsException
public void addForward(int index, Forward vForward) throws java.lang.IndexOutOfBoundsException
index
- vForward
-
java.lang.IndexOutOfBoundsException
public void addLoggroup(java.lang.String vLoggroup) throws java.lang.IndexOutOfBoundsException
vLoggroup
-
java.lang.IndexOutOfBoundsException
public void addLoggroup(int index, java.lang.String vLoggroup) throws java.lang.IndexOutOfBoundsException
index
- vLoggroup
-
java.lang.IndexOutOfBoundsException
public void addOperaction(Operaction vOperaction) throws java.lang.IndexOutOfBoundsException
vOperaction
-
java.lang.IndexOutOfBoundsException
public void addOperaction(int index, Operaction vOperaction) throws java.lang.IndexOutOfBoundsException
index
- vOperaction
-
java.lang.IndexOutOfBoundsException
public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to register.public void addScript(Script vScript) throws java.lang.IndexOutOfBoundsException
vScript
-
java.lang.IndexOutOfBoundsException
public void addScript(int index, Script vScript) throws java.lang.IndexOutOfBoundsException
index
- vScript
-
java.lang.IndexOutOfBoundsException
public void clearAutoaction()
public void clearForward()
public void clearLoggroup()
public void clearOperaction()
public void clearScript()
public java.util.Enumeration enumerateAutoaction()
public java.util.Enumeration enumerateForward()
public java.util.Enumeration enumerateLoggroup()
public java.util.Enumeration enumerateOperaction()
public java.util.Enumeration enumerateScript()
public boolean equals(java.lang.Object obj)
obj
- public Autoacknowledge getAutoacknowledge()
public Autoaction getAutoaction(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Autoaction[] getAutoaction()
public java.util.Collection getAutoactionCollection()
public int getAutoactionCount()
public Correlation getCorrelation()
public java.lang.String getDescr()
public java.lang.String getEventLabel()
public Forward getForward(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Forward[] getForward()
public java.util.Collection getForwardCollection()
public int getForwardCount()
public java.lang.String getLoggroup(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public java.lang.String[] getLoggroup()
public java.util.Collection getLoggroupCollection()
public int getLoggroupCount()
public Logmsg getLogmsg()
public Mask getMask()
public java.lang.String getMouseovertext()
public Operaction getOperaction(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Operaction[] getOperaction()
public java.util.Collection getOperactionCollection()
public int getOperactionCount()
public java.lang.String getOperinstruct()
public Script getScript(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public Script[] getScript()
public java.util.Collection getScriptCollection()
public int getScriptCount()
public java.lang.String getSeverity()
public Snmp getSnmp()
public Tticket getTticket()
public java.lang.String getUei()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.DocumentHandler handler) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
protected void notifyPropertyChangeListeners(java.lang.String fieldName, java.lang.Object oldValue, java.lang.Object newValue)
fieldName
- the name of the property that has changed.newValue
- the new value of the property.oldValue
- the old value of the property.public boolean removeAutoaction(Autoaction vAutoaction)
vAutoaction
- public boolean removeForward(Forward vForward)
vForward
- public boolean removeLoggroup(java.lang.String vLoggroup)
vLoggroup
- public boolean removeOperaction(Operaction vOperaction)
vOperaction
- public boolean removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl
- The PropertyChangeListener to remove.
public boolean removeScript(Script vScript)
vScript
- public void setAutoacknowledge(Autoacknowledge autoacknowledge)
autoacknowledge
- the value of field 'autoacknowledge'.public void setAutoaction(int index, Autoaction vAutoaction) throws java.lang.IndexOutOfBoundsException
index
- vAutoaction
-
java.lang.IndexOutOfBoundsException
public void setAutoaction(Autoaction[] autoactionArray)
autoactionArray
- public void setAutoactionCollection(java.util.Collection vAutoaction)
vAutoaction
- public void setCorrelation(Correlation correlation)
correlation
- the value of field 'correlation'.public void setDescr(java.lang.String descr)
descr
- the value of field 'descr'.public void setEventLabel(java.lang.String eventLabel)
eventLabel
- the value of field 'eventLabel'.public void setForward(int index, Forward vForward) throws java.lang.IndexOutOfBoundsException
index
- vForward
-
java.lang.IndexOutOfBoundsException
public void setForward(Forward[] forwardArray)
forwardArray
- public void setForwardCollection(java.util.Collection vForward)
vForward
- public void setLoggroup(int index, java.lang.String vLoggroup) throws java.lang.IndexOutOfBoundsException
index
- vLoggroup
-
java.lang.IndexOutOfBoundsException
public void setLoggroup(java.lang.String[] loggroupArray)
loggroupArray
- public void setLoggroupCollection(java.util.Collection vLoggroup)
vLoggroup
- public void setLogmsg(Logmsg logmsg)
logmsg
- the value of field 'logmsg'.public void setMask(Mask mask)
mask
- the value of field 'mask'.public void setMouseovertext(java.lang.String mouseovertext)
mouseovertext
- the value of field 'mouseovertext'.public void setOperaction(int index, Operaction vOperaction) throws java.lang.IndexOutOfBoundsException
index
- vOperaction
-
java.lang.IndexOutOfBoundsException
public void setOperaction(Operaction[] operactionArray)
operactionArray
- public void setOperactionCollection(java.util.Collection vOperaction)
vOperaction
- public void setOperinstruct(java.lang.String operinstruct)
operinstruct
- the value of field 'operinstruct'.public void setScript(int index, Script vScript) throws java.lang.IndexOutOfBoundsException
index
- vScript
-
java.lang.IndexOutOfBoundsException
public void setScript(Script[] scriptArray)
scriptArray
- public void setScriptCollection(java.util.Collection vScript)
vScript
- public void setSeverity(java.lang.String severity)
severity
- the value of field 'severity'.public void setSnmp(Snmp snmp)
snmp
- the value of field 'snmp'.public void setTticket(Tticket tticket)
tticket
- the value of field 'tticket'.public void setUei(java.lang.String uei)
uei
- the value of field 'uei'.public static Event unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |