Class ImmutableEvent
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableEvent.Builder
-
Method Summary
-
-
-
Method Detail
-
newBuilder
public static ImmutableEvent.Builder newBuilder()
-
newBuilderFrom
public static ImmutableEvent.Builder newBuilderFrom(IEvent event)
-
getAlarmData
public IAlarmData getAlarmData()
- Specified by:
getAlarmData
in interfaceIEvent
-
getAutoacknowledge
public IAutoAcknowledge getAutoacknowledge()
- Specified by:
getAutoacknowledge
in interfaceIEvent
-
getAutoaction
public IAutoAction getAutoaction(int index)
- Specified by:
getAutoaction
in interfaceIEvent
-
getAutoaction
public IAutoAction[] getAutoaction()
- Specified by:
getAutoaction
in interfaceIEvent
-
getAutoactionCollection
public java.util.List<IAutoAction> getAutoactionCollection()
- Specified by:
getAutoactionCollection
in interfaceIEvent
-
getAutoactionCount
public int getAutoactionCount()
- Specified by:
getAutoactionCount
in interfaceIEvent
-
getCorrelation
public ICorrelation getCorrelation()
- Specified by:
getCorrelation
in interfaceIEvent
-
getCreationTime
public java.util.Date getCreationTime()
- Specified by:
getCreationTime
in interfaceIEvent
-
getDistPoller
public java.lang.String getDistPoller()
- Specified by:
getDistPoller
in interfaceIEvent
-
getForward
public IForward getForward(int index)
- Specified by:
getForward
in interfaceIEvent
-
getForward
public IForward[] getForward()
- Specified by:
getForward
in interfaceIEvent
-
getForwardCollection
public java.util.List<IForward> getForwardCollection()
- Specified by:
getForwardCollection
in interfaceIEvent
-
getForwardCount
public int getForwardCount()
- Specified by:
getForwardCount
in interfaceIEvent
-
getIfAlias
public java.lang.String getIfAlias()
- Specified by:
getIfAlias
in interfaceIEvent
-
getIfIndex
public java.lang.Integer getIfIndex()
- Specified by:
getIfIndex
in interfaceIEvent
-
getInterface
public java.lang.String getInterface()
- Specified by:
getInterface
in interfaceIEvent
-
getInterfaceAddress
public java.net.InetAddress getInterfaceAddress()
- Specified by:
getInterfaceAddress
in interfaceIEvent
-
getLoggroup
public java.lang.String getLoggroup(int index)
- Specified by:
getLoggroup
in interfaceIEvent
-
getLoggroup
public java.lang.String[] getLoggroup()
- Specified by:
getLoggroup
in interfaceIEvent
-
getLoggroupCollection
public java.util.List<java.lang.String> getLoggroupCollection()
- Specified by:
getLoggroupCollection
in interfaceIEvent
-
getLoggroupCount
public int getLoggroupCount()
- Specified by:
getLoggroupCount
in interfaceIEvent
-
getMasterStation
public java.lang.String getMasterStation()
- Specified by:
getMasterStation
in interfaceIEvent
-
getMouseovertext
public java.lang.String getMouseovertext()
- Specified by:
getMouseovertext
in interfaceIEvent
-
getOperaction
public IOperAction getOperaction(int index)
- Specified by:
getOperaction
in interfaceIEvent
-
getOperaction
public IOperAction[] getOperaction()
- Specified by:
getOperaction
in interfaceIEvent
-
getOperactionCollection
public java.util.List<IOperAction> getOperactionCollection()
- Specified by:
getOperactionCollection
in interfaceIEvent
-
getOperactionCount
public int getOperactionCount()
- Specified by:
getOperactionCount
in interfaceIEvent
-
getOperinstruct
public java.lang.String getOperinstruct()
- Specified by:
getOperinstruct
in interfaceIEvent
-
getParmCollection
public java.util.List<IParm> getParmCollection()
- Specified by:
getParmCollection
in interfaceIEvent
-
getParmTrim
public IParm getParmTrim(java.lang.String key)
- Specified by:
getParmTrim
in interfaceIEvent
-
getPathoutage
public java.lang.String getPathoutage()
- Specified by:
getPathoutage
in interfaceIEvent
-
getScriptCollection
public java.util.List<IScript> getScriptCollection()
- Specified by:
getScriptCollection
in interfaceIEvent
-
getScriptCount
public int getScriptCount()
- Specified by:
getScriptCount
in interfaceIEvent
-
getService
public java.lang.String getService()
- Specified by:
getService
in interfaceIEvent
-
getSeverity
public java.lang.String getSeverity()
- Specified by:
getSeverity
in interfaceIEvent
-
getSnmphost
public java.lang.String getSnmphost()
- Specified by:
getSnmphost
in interfaceIEvent
-
getTticket
public ITticket getTticket()
- Specified by:
getTticket
in interfaceIEvent
-
hasIfIndex
public boolean hasIfIndex()
- Specified by:
hasIfIndex
in interfaceIEvent
-
enumerateAutoaction
public java.util.Enumeration<IAutoAction> enumerateAutoaction()
- Specified by:
enumerateAutoaction
in interfaceIEvent
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringSimple
public java.lang.String toStringSimple()
- Specified by:
toStringSimple
in interfaceIEvent
-
-