public class Event extends Object implements Serializable, Comparable<Event>
| Constructor and Description |
|---|
Event() |
public EventOrdering.EventOrderIndex getIndex()
public void setIndex(EventOrdering.EventOrderIndex index)
public void addAutoaction(Autoaction autoaction) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addAutoaction(int index,
Autoaction autoaction)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addForward(Forward forward) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addForward(int index,
Forward forward)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addLoggroup(String loggroup) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addLoggroup(int index,
String loggroup)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addOperaction(Operaction operaction) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addOperaction(int index,
Operaction operaction)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addScript(Script script) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addScript(int index,
Script script)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addVarbindsdecode(Varbindsdecode varbindsdecode) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void addVarbindsdecode(int index,
Varbindsdecode varbindsdecode)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Enumeration<Autoaction> enumerateAutoaction()
public Enumeration<Forward> enumerateForward()
public Enumeration<String> enumerateLoggroup()
public Enumeration<Operaction> enumerateOperaction()
public Enumeration<Script> enumerateScript()
public Enumeration<Varbindsdecode> enumerateVarbindsdecode()
public AlarmData getAlarmData()
public Autoacknowledge getAutoacknowledge()
public Autoaction getAutoaction(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Autoaction[] getAutoaction()
public List<Autoaction> getAutoactionCollection()
public int getAutoactionCount()
public Correlation getCorrelation()
public String getDescr()
public String getEventLabel()
public Forward getForward(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Filters getFilters()
public Forward[] getForward()
public int getForwardCount()
public String getLoggroup(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic String[] getLoggroup()
public int getLoggroupCount()
public Logmsg getLogmsg()
public Mask getMask()
public String getMouseovertext()
public Operaction getOperaction(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Operaction[] getOperaction()
public List<Operaction> getOperactionCollection()
public int getOperactionCount()
public String getOperinstruct()
public Script getScript(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Script[] getScript()
public int getScriptCount()
public String getSeverity()
public Snmp getSnmp()
public Tticket getTticket()
public String getUei()
public Varbindsdecode getVarbindsdecode(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic Varbindsdecode[] getVarbindsdecode()
public List<Varbindsdecode> getVarbindsdecodeCollection()
public int getVarbindsdecodeCount()
public boolean isValid()
public Iterator<Autoaction> iterateAutoaction()
public Iterator<Operaction> iterateOperaction()
public Iterator<Varbindsdecode> iterateVarbindsdecode()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void removeAllAutoaction()
public void removeAllForward()
public void removeAllLoggroup()
public void removeAllOperaction()
public void removeAllScript()
public void removeAllVarbindsdecode()
public boolean removeAutoaction(Autoaction autoaction)
public Autoaction removeAutoactionAt(int index)
public boolean removeForward(Forward forward)
public Forward removeForwardAt(int index)
public boolean removeLoggroup(String loggroup)
public String removeLoggroupAt(int index)
public boolean removeOperaction(Operaction operaction)
public Operaction removeOperactionAt(int index)
public boolean removeScript(Script script)
public Script removeScriptAt(int index)
public boolean removeVarbindsdecode(Varbindsdecode decode)
public Varbindsdecode removeVarbindsdecodeAt(int index)
public void setAlarmData(AlarmData alarmData)
public void setAutoacknowledge(Autoacknowledge autoacknowledge)
public void setAutoaction(int index,
Autoaction autoaction)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void setAutoaction(Autoaction[] autoactions)
public void setAutoaction(List<Autoaction> autoactions)
public void setAutoactionCollection(List<Autoaction> autoactions)
public void setCorrelation(Correlation correlation)
public void setDescr(String descr)
public void setEventLabel(String eventLabel)
public void setFilters(Filters filters)
public void setForward(int index,
Forward forward)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void setForward(Forward[] forwards)
public void setLoggroup(int index,
String loggroup)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void setLoggroup(String[] loggroups)
public void setLogmsg(Logmsg logmsg)
public void setMask(Mask mask)
public void setMouseovertext(String mouseovertext)
public void setOperaction(int index,
Operaction operaction)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void setOperaction(Operaction[] operactions)
public void setOperaction(List<Operaction> operactions)
public void setOperactionCollection(List<Operaction> operactions)
public void setOperinstruct(String operinstruct)
public void setScript(int index,
Script script)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void setScript(Script[] scripts)
public void setSeverity(String severity)
public void setSnmp(Snmp snmp)
public void setTticket(Tticket tticket)
public void setUei(String uei)
public void setVarbindsdecode(int index,
Varbindsdecode decode)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic void setVarbindsdecode(Varbindsdecode[] decodes)
public void setVarbindsdecode(List<Varbindsdecode> decodes)
public void setVarbindsdecodeCollection(List<Varbindsdecode> decodes)
public static Event unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationExceptionpublic boolean matches(Event matchingEvent)
public void initialize(EventOrdering.EventOrderIndex eventOrderIndex)
public int compareTo(Event o)
compareTo in interface Comparable<Event>Copyright © 2015. All rights reserved.