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
IndexOutOfBoundsException
public void addAutoaction(int index, Autoaction autoaction) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addForward(Forward forward) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addForward(int index, Forward forward) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addLoggroup(String loggroup) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addLoggroup(int index, String loggroup) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addOperaction(Operaction operaction) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addOperaction(int index, Operaction operaction) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addScript(Script script) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addScript(int index, Script script) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addVarbindsdecode(Varbindsdecode varbindsdecode) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addVarbindsdecode(int index, Varbindsdecode varbindsdecode) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addParameter(Parameter parameter) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void addParameter(int index, Parameter parameter) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public Enumeration<Autoaction> enumerateAutoaction()
public Enumeration<Forward> enumerateForward()
public Enumeration<String> enumerateLoggroup()
public Enumeration<Operaction> enumerateOperaction()
public Enumeration<Script> enumerateScript()
public Enumeration<Varbindsdecode> enumerateVarbindsdecode()
public Enumeration<Parameter> enumerateParameters()
public AlarmData getAlarmData()
public Autoacknowledge getAutoacknowledge()
public Autoaction getAutoaction(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public 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
IndexOutOfBoundsException
public Filters getFilters()
public Forward[] getForward()
public int getForwardCount()
public String getLoggroup(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public String[] getLoggroup()
public int getLoggroupCount()
public Logmsg getLogmsg()
public Mask getMask()
public String getMouseovertext()
public Operaction getOperaction(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public Operaction[] getOperaction()
public List<Operaction> getOperactionCollection()
public int getOperactionCount()
public String getOperinstruct()
public Script getScript(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public Script[] getScript()
public int getScriptCount()
public String getSeverity()
public Snmp getSnmp()
public Tticket getTticket()
public String getUei()
public Varbindsdecode getVarbindsdecode(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public Varbindsdecode[] getVarbindsdecode()
public List<Varbindsdecode> getVarbindsdecodeCollection()
public int getVarbindsdecodeCount()
public Parameter geParameter(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public Parameter[] getParameter()
public int getParameterCount()
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.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public 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 boolean removeParameter(Parameter parameter)
public Parameter removeParameterAt(int index)
public void setAlarmData(AlarmData alarmData)
public void setAutoacknowledge(Autoacknowledge autoacknowledge)
public void setAutoaction(int index, Autoaction autoaction) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public 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
IndexOutOfBoundsException
public void setForward(Forward[] forwards)
public void setLoggroup(int index, String loggroup) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public 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
IndexOutOfBoundsException
public 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
IndexOutOfBoundsException
public 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
IndexOutOfBoundsException
public void setVarbindsdecode(Varbindsdecode[] decodes)
public void setVarbindsdecode(List<Varbindsdecode> decodes)
public void setVarbindsdecodeCollection(List<Varbindsdecode> decodes)
public void setParameter(int index, Parameter parameter) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public void setParameter(Parameter[] parameters)
public static Event unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
public boolean matches(Event matchingEvent)
public void initialize(EventOrdering.EventOrderIndex eventOrderIndex)
public int compareTo(Event o)
compareTo
in interface Comparable<Event>
Copyright © 2017. All rights reserved.