|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.xml.eventconf.Event
public class Event
Class Event.
| 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,
String vLoggroup)
|
void |
addLoggroup(String vLoggroup)
|
void |
addOperaction(int index,
Operaction vOperaction)
|
void |
addOperaction(Operaction vOperaction)
|
void |
addScript(int index,
Script vScript)
|
void |
addScript(Script vScript)
|
Enumeration<Autoaction> |
enumerateAutoaction()
Method enumerateAutoaction. |
Enumeration<Forward> |
enumerateForward()
Method enumerateForward. |
Enumeration<String> |
enumerateLoggroup()
Method enumerateLoggroup. |
Enumeration<Operaction> |
enumerateOperaction()
Method enumerateOperaction. |
Enumeration<Script> |
enumerateScript()
Method enumerateScript. |
AlarmData |
getAlarmData()
Returns the value of field 'alarmData'. |
Autoacknowledge |
getAutoacknowledge()
Returns the value of field 'autoacknowledge'. |
Autoaction[] |
getAutoaction()
Method getAutoaction.Returns the contents of the collection in an Array. |
Autoaction |
getAutoaction(int index)
Method getAutoaction. |
List<Autoaction> |
getAutoactionCollection()
Method getAutoactionCollection.Returns a reference to '_autoactionList'. |
int |
getAutoactionCount()
Method getAutoactionCount. |
Correlation |
getCorrelation()
Returns the value of field 'correlation'. |
String |
getDescr()
Returns the value of field 'descr'. |
String |
getEventLabel()
Returns the value of field 'eventLabel'. |
Forward[] |
getForward()
Method getForward.Returns the contents of the collection in an Array. |
Forward |
getForward(int index)
Method getForward. |
List<Forward> |
getForwardCollection()
Method getForwardCollection.Returns a reference to '_forwardList'. |
int |
getForwardCount()
Method getForwardCount. |
String[] |
getLoggroup()
Method getLoggroup.Returns the contents of the collection in an Array. |
String |
getLoggroup(int index)
Method getLoggroup. |
List<String> |
getLoggroupCollection()
Method getLoggroupCollection.Returns a reference to '_loggroupList'. |
int |
getLoggroupCount()
Method getLoggroupCount. |
Logmsg |
getLogmsg()
Returns the value of field 'logmsg'. |
Mask |
getMask()
Returns the value of field 'mask'. |
String |
getMouseovertext()
Returns the value of field 'mouseovertext'. |
Operaction[] |
getOperaction()
Method getOperaction.Returns the contents of the collection in an Array. |
Operaction |
getOperaction(int index)
Method getOperaction. |
List<Operaction> |
getOperactionCollection()
Method getOperactionCollection.Returns a reference to '_operactionList'. |
int |
getOperactionCount()
Method getOperactionCount. |
String |
getOperinstruct()
Returns the value of field 'operinstruct'. |
Script[] |
getScript()
Method getScript.Returns the contents of the collection in an Array. |
Script |
getScript(int index)
Method getScript. |
List<Script> |
getScriptCollection()
Method getScriptCollection.Returns a reference to '_scriptList'. |
int |
getScriptCount()
Method getScriptCount. |
String |
getSeverity()
Returns the value of field 'severity'. |
Snmp |
getSnmp()
Returns the value of field 'snmp'. |
Tticket |
getTticket()
Returns the value of field 'tticket'. |
String |
getUei()
Returns the value of field 'uei'. |
boolean |
isValid()
Method isValid. |
Iterator<Autoaction> |
iterateAutoaction()
Method iterateAutoaction. |
Iterator<Forward> |
iterateForward()
Method iterateForward. |
Iterator<String> |
iterateLoggroup()
Method iterateLoggroup. |
Iterator<Operaction> |
iterateOperaction()
Method iterateOperaction. |
Iterator<Script> |
iterateScript()
Method iterateScript. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllAutoaction()
|
void |
removeAllForward()
|
void |
removeAllLoggroup()
|
void |
removeAllOperaction()
|
void |
removeAllScript()
|
boolean |
removeAutoaction(Autoaction vAutoaction)
Method removeAutoaction. |
Autoaction |
removeAutoactionAt(int index)
Method removeAutoactionAt. |
boolean |
removeForward(Forward vForward)
Method removeForward. |
Forward |
removeForwardAt(int index)
Method removeForwardAt. |
boolean |
removeLoggroup(String vLoggroup)
Method removeLoggroup. |
String |
removeLoggroupAt(int index)
Method removeLoggroupAt. |
boolean |
removeOperaction(Operaction vOperaction)
Method removeOperaction. |
Operaction |
removeOperactionAt(int index)
Method removeOperactionAt. |
boolean |
removeScript(Script vScript)
Method removeScript. |
Script |
removeScriptAt(int index)
Method removeScriptAt. |
void |
setAlarmData(AlarmData alarmData)
Sets the value of field 'alarmData'. |
void |
setAutoacknowledge(Autoacknowledge autoacknowledge)
Sets the value of field 'autoacknowledge'. |
void |
setAutoaction(Autoaction[] vAutoactionArray)
|
void |
setAutoaction(int index,
Autoaction vAutoaction)
|
void |
setAutoaction(List<Autoaction> vAutoactionList)
Sets the value of '_autoactionList' by copying the given Vector. |
void |
setAutoactionCollection(List<Autoaction> autoactionList)
Deprecated. |
void |
setCorrelation(Correlation correlation)
Sets the value of field 'correlation'. |
void |
setDescr(String descr)
Sets the value of field 'descr'. |
void |
setEventLabel(String eventLabel)
Sets the value of field 'eventLabel'. |
void |
setForward(Forward[] vForwardArray)
|
void |
setForward(int index,
Forward vForward)
|
void |
setForward(List<Forward> vForwardList)
Sets the value of '_forwardList' by copying the given Vector. |
void |
setForwardCollection(List<Forward> forwardList)
Deprecated. |
void |
setLoggroup(int index,
String vLoggroup)
|
void |
setLoggroup(List<String> vLoggroupList)
Sets the value of '_loggroupList' by copying the given Vector. |
void |
setLoggroup(String[] vLoggroupArray)
|
void |
setLoggroupCollection(List<String> loggroupList)
Deprecated. |
void |
setLogmsg(Logmsg logmsg)
Sets the value of field 'logmsg'. |
void |
setMask(Mask mask)
Sets the value of field 'mask'. |
void |
setMouseovertext(String mouseovertext)
Sets the value of field 'mouseovertext'. |
void |
setOperaction(int index,
Operaction vOperaction)
|
void |
setOperaction(List<Operaction> vOperactionList)
Sets the value of '_operactionList' by copying the given Vector. |
void |
setOperaction(Operaction[] vOperactionArray)
|
void |
setOperactionCollection(List<Operaction> operactionList)
Deprecated. |
void |
setOperinstruct(String operinstruct)
Sets the value of field 'operinstruct'. |
void |
setScript(int index,
Script vScript)
|
void |
setScript(List<Script> vScriptList)
Sets the value of '_scriptList' by copying the given Vector. |
void |
setScript(Script[] vScriptArray)
|
void |
setScriptCollection(List<Script> scriptList)
Deprecated. |
void |
setSeverity(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(String uei)
Sets the value of field 'uei'. |
static Event |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Event()
| Method Detail |
|---|
public void addAutoaction(Autoaction vAutoaction)
throws IndexOutOfBoundsException
vAutoaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addAutoaction(int index,
Autoaction vAutoaction)
throws IndexOutOfBoundsException
index - vAutoaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addForward(Forward vForward)
throws IndexOutOfBoundsException
vForward -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addForward(int index,
Forward vForward)
throws IndexOutOfBoundsException
index - vForward -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addLoggroup(String vLoggroup)
throws IndexOutOfBoundsException
vLoggroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addLoggroup(int index,
String vLoggroup)
throws IndexOutOfBoundsException
index - vLoggroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addOperaction(Operaction vOperaction)
throws IndexOutOfBoundsException
vOperaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addOperaction(int index,
Operaction vOperaction)
throws IndexOutOfBoundsException
index - vOperaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addScript(Script vScript)
throws IndexOutOfBoundsException
vScript -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addScript(int index,
Script vScript)
throws IndexOutOfBoundsException
index - vScript -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Autoaction> enumerateAutoaction()
public Enumeration<Forward> enumerateForward()
public Enumeration<String> enumerateLoggroup()
public Enumeration<Operaction> enumerateOperaction()
public Enumeration<Script> enumerateScript()
public AlarmData getAlarmData()
public Autoacknowledge getAutoacknowledge()
public Autoaction getAutoaction(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Autoaction[] getAutoaction()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Autoaction> getAutoactionCollection()
public int getAutoactionCount()
public Correlation getCorrelation()
public String getDescr()
public String getEventLabel()
public Forward getForward(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Forward[] getForward()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Forward> getForwardCollection()
public int getForwardCount()
public String getLoggroup(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic String[] getLoggroup()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<String> getLoggroupCollection()
public int getLoggroupCount()
public Logmsg getLogmsg()
public Mask getMask()
public String getMouseovertext()
public Operaction getOperaction(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Operaction[] getOperaction()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Operaction> getOperactionCollection()
public int getOperactionCount()
public String getOperinstruct()
public Script getScript(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Script[] getScript()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Script> getScriptCollection()
public int getScriptCount()
public String getSeverity()
public Snmp getSnmp()
public Tticket getTticket()
public String getUei()
public boolean isValid()
public Iterator<Autoaction> iterateAutoaction()
public Iterator<Forward> iterateForward()
public Iterator<String> iterateLoggroup()
public Iterator<Operaction> iterateOperaction()
public Iterator<Script> iterateScript()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllAutoaction()
public void removeAllForward()
public void removeAllLoggroup()
public void removeAllOperaction()
public void removeAllScript()
public boolean removeAutoaction(Autoaction vAutoaction)
vAutoaction -
public Autoaction removeAutoactionAt(int index)
index -
public boolean removeForward(Forward vForward)
vForward -
public Forward removeForwardAt(int index)
index -
public boolean removeLoggroup(String vLoggroup)
vLoggroup -
public String removeLoggroupAt(int index)
index -
public boolean removeOperaction(Operaction vOperaction)
vOperaction -
public Operaction removeOperactionAt(int index)
index -
public boolean removeScript(Script vScript)
vScript -
public Script removeScriptAt(int index)
index -
public void setAlarmData(AlarmData alarmData)
alarmData - the value of field 'alarmData'.public void setAutoacknowledge(Autoacknowledge autoacknowledge)
autoacknowledge - the value of field 'autoacknowledge'.
public void setAutoaction(int index,
Autoaction vAutoaction)
throws IndexOutOfBoundsException
index - vAutoaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setAutoaction(Autoaction[] vAutoactionArray)
vAutoactionArray - public void setAutoaction(List<Autoaction> vAutoactionList)
vAutoactionList - the Vector to copy.public void setAutoactionCollection(List<Autoaction> autoactionList)
autoactionList - the Vector to set.public void setCorrelation(Correlation correlation)
correlation - the value of field 'correlation'.public void setDescr(String descr)
descr - the value of field 'descr'.public void setEventLabel(String eventLabel)
eventLabel - the value of field 'eventLabel'.
public void setForward(int index,
Forward vForward)
throws IndexOutOfBoundsException
index - vForward -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setForward(Forward[] vForwardArray)
vForwardArray - public void setForward(List<Forward> vForwardList)
vForwardList - the Vector to copy.public void setForwardCollection(List<Forward> forwardList)
forwardList - the Vector to set.
public void setLoggroup(int index,
String vLoggroup)
throws IndexOutOfBoundsException
index - vLoggroup -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setLoggroup(String[] vLoggroupArray)
vLoggroupArray - public void setLoggroup(List<String> vLoggroupList)
vLoggroupList - the Vector to copy.public void setLoggroupCollection(List<String> loggroupList)
loggroupList - the Vector to set.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(String mouseovertext)
mouseovertext - the value of field 'mouseovertext'.
public void setOperaction(int index,
Operaction vOperaction)
throws IndexOutOfBoundsException
index - vOperaction -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setOperaction(Operaction[] vOperactionArray)
vOperactionArray - public void setOperaction(List<Operaction> vOperactionList)
vOperactionList - the Vector to copy.public void setOperactionCollection(List<Operaction> operactionList)
operactionList - the Vector to set.public void setOperinstruct(String operinstruct)
operinstruct - the value of field 'operinstruct'.
public void setScript(int index,
Script vScript)
throws IndexOutOfBoundsException
index - vScript -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setScript(Script[] vScriptArray)
vScriptArray - public void setScript(List<Script> vScriptList)
vScriptList - the Vector to copy.public void setScriptCollection(List<Script> scriptList)
scriptList - the Vector to set.public void setSeverity(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(String uei)
uei - the value of field 'uei'.
public static Event unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||