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 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 Date getCreationTime()
- Specified by:
getCreationTime
in interfaceIEvent
-
getDistPoller
public 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 List<IForward> getForwardCollection()
- Specified by:
getForwardCollection
in interfaceIEvent
-
getForwardCount
public int getForwardCount()
- Specified by:
getForwardCount
in interfaceIEvent
-
getIfAlias
public String getIfAlias()
- Specified by:
getIfAlias
in interfaceIEvent
-
getIfIndex
public Integer getIfIndex()
- Specified by:
getIfIndex
in interfaceIEvent
-
getInterface
public String getInterface()
- Specified by:
getInterface
in interfaceIEvent
-
getInterfaceAddress
public InetAddress getInterfaceAddress()
- Specified by:
getInterfaceAddress
in interfaceIEvent
-
getLoggroup
public String getLoggroup(int index)
- Specified by:
getLoggroup
in interfaceIEvent
-
getLoggroup
public String[] getLoggroup()
- Specified by:
getLoggroup
in interfaceIEvent
-
getLoggroupCollection
public List<String> getLoggroupCollection()
- Specified by:
getLoggroupCollection
in interfaceIEvent
-
getLoggroupCount
public int getLoggroupCount()
- Specified by:
getLoggroupCount
in interfaceIEvent
-
getMasterStation
public String getMasterStation()
- Specified by:
getMasterStation
in interfaceIEvent
-
getMouseovertext
public 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 List<IOperAction> getOperactionCollection()
- Specified by:
getOperactionCollection
in interfaceIEvent
-
getOperactionCount
public int getOperactionCount()
- Specified by:
getOperactionCount
in interfaceIEvent
-
getOperinstruct
public String getOperinstruct()
- Specified by:
getOperinstruct
in interfaceIEvent
-
getParmCollection
public List<IParm> getParmCollection()
- Specified by:
getParmCollection
in interfaceIEvent
-
getParmTrim
public IParm getParmTrim(String key)
- Specified by:
getParmTrim
in interfaceIEvent
-
getPathoutage
public String getPathoutage()
- Specified by:
getPathoutage
in interfaceIEvent
-
getScriptCollection
public List<IScript> getScriptCollection()
- Specified by:
getScriptCollection
in interfaceIEvent
-
getScriptCount
public int getScriptCount()
- Specified by:
getScriptCount
in interfaceIEvent
-
getService
public String getService()
- Specified by:
getService
in interfaceIEvent
-
getSeverity
public String getSeverity()
- Specified by:
getSeverity
in interfaceIEvent
-
getSnmphost
public 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 Enumeration<IAutoAction> enumerateAutoaction()
- Specified by:
enumerateAutoaction
in interfaceIEvent
-
toStringSimple
public String toStringSimple()
- Specified by:
toStringSimple
in interfaceIEvent
-
-