Package org.opennms.netmgt.alarmd.drools
Interface AlarmService
-
- All Known Implementing Classes:
DefaultAlarmService
public interface AlarmService
This API is intended to provide RHS functionality for Drools Alarmd and Situation rules.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
acknowledgeAlarm(OnmsAlarm alarm, java.util.Date now)
void
clearAlarm(OnmsAlarm alarm, java.util.Date now)
void
debug(java.lang.String message, java.lang.Object... objects)
void
deleteAlarm(OnmsAlarm alarm)
void
escalateAlarm(OnmsAlarm alarm, java.util.Date now)
void
info(java.lang.String message, java.lang.Object... objects)
void
sendEvent(Event e)
Asynchronously broadcast the given event.void
setSeverity(OnmsAlarm alarm, OnmsSeverity severity, java.util.Date now)
void
unacknowledgeAlarm(OnmsAlarm alarm, java.util.Date now)
void
unclearAlarm(OnmsAlarm alarm, java.util.Date now)
void
warn(java.lang.String message, java.lang.Object... objects)
-
-
-
Method Detail
-
clearAlarm
void clearAlarm(OnmsAlarm alarm, java.util.Date now)
-
deleteAlarm
void deleteAlarm(OnmsAlarm alarm)
-
unclearAlarm
void unclearAlarm(OnmsAlarm alarm, java.util.Date now)
-
escalateAlarm
void escalateAlarm(OnmsAlarm alarm, java.util.Date now)
-
acknowledgeAlarm
void acknowledgeAlarm(OnmsAlarm alarm, java.util.Date now)
-
unacknowledgeAlarm
void unacknowledgeAlarm(OnmsAlarm alarm, java.util.Date now)
-
setSeverity
void setSeverity(OnmsAlarm alarm, OnmsSeverity severity, java.util.Date now)
-
debug
void debug(java.lang.String message, java.lang.Object... objects)
-
info
void info(java.lang.String message, java.lang.Object... objects)
-
warn
void warn(java.lang.String message, java.lang.Object... objects)
-
sendEvent
void sendEvent(Event e)
Asynchronously broadcast the given event.- Parameters:
e
- event to broadcast
-
-