Package org.opennms.netmgt.model.events
Class NodeLabelChangedEventBuilder
- java.lang.Object
-
- org.opennms.netmgt.model.events.EventBuilder
-
- org.opennms.netmgt.model.events.NodeLabelChangedEventBuilder
-
public class NodeLabelChangedEventBuilder extends EventBuilder
-
-
Constructor Summary
Constructors Constructor Description NodeLabelChangedEventBuilder(java.lang.String source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkForIllegalUei()
Event
getEvent()
getEventNodeLabelChangedEventBuilder
setNewNodeLabel(java.lang.String newNodeLabel)
NodeLabelChangedEventBuilder
setNewNodeLabelSource(java.lang.String newNodeLabelSource)
NodeLabelChangedEventBuilder
setOldNodeLabel(java.lang.String oldNodeLabel)
NodeLabelChangedEventBuilder
setOldNodeLabelSource(java.lang.String oldNodeLabelSource)
-
Methods inherited from class org.opennms.netmgt.model.events.EventBuilder
addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, currentEventTime, getLog, getZonedDateTimeBuilder, setAlarmData, setCommunity, setDayOfMonth, setDescription, setDistPoller, setEnterpriseId, setField, setGeneric, setHost, setHourOfDay, setIfIndex, setInterface, setIpInterface, setLogDest, setLogMessage, setMasterStation, setMillisecond, setMinute, setMonitoredService, setMonth, setNode, setNodeid, setParam, setParam, setParms, setSecond, setService, setSeverity, setSnmpHost, setSnmpTimeStamp, setSnmpVersion, setSource, setSpecific, setTime, setTrapOID, setUei, setUuid, setYear, setZoneId
-
-
-
-
Method Detail
-
getEvent
public Event getEvent()
Description copied from class:EventBuilder
getEvent
- Overrides:
getEvent
in classEventBuilder
- Returns:
- a
Event
object.
-
setOldNodeLabel
public NodeLabelChangedEventBuilder setOldNodeLabel(java.lang.String oldNodeLabel)
-
setNewNodeLabel
public NodeLabelChangedEventBuilder setNewNodeLabel(java.lang.String newNodeLabel)
-
setOldNodeLabelSource
public NodeLabelChangedEventBuilder setOldNodeLabelSource(java.lang.String oldNodeLabelSource)
-
setNewNodeLabelSource
public NodeLabelChangedEventBuilder setNewNodeLabelSource(java.lang.String newNodeLabelSource)
-
checkForIllegalUei
protected void checkForIllegalUei()
- Overrides:
checkForIllegalUei
in classEventBuilder
-
-