|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.serotonin.m2m2.module.ModuleElementDefinition
com.serotonin.m2m2.module.SystemEventTypeDefinition
public abstract class SystemEventTypeDefinition
Used for creating custom system event types.
Constructor Summary | |
---|---|
SystemEventTypeDefinition()
|
Method Summary | |
---|---|
int |
getDefaultAlarmLevel()
The default alarm level of the event. |
abstract java.lang.String |
getDescriptionKey()
A reference to a human readable and translatable name of the system event type. |
abstract java.lang.String |
getEventListLink(int ref1,
int ref2,
com.serotonin.m2m2.i18n.Translations translations)
This method provides an opportunity for the client code to return HTML code that will be used verbatim in the events list snippet. |
abstract java.lang.String |
getTypeName()
The type name of the system event. |
Methods inherited from class com.serotonin.m2m2.module.ModuleElementDefinition |
---|
getModule, initialize, uninstall |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemEventTypeDefinition()
Method Detail |
---|
public abstract java.lang.String getTypeName()
public abstract java.lang.String getDescriptionKey()
public int getDefaultAlarmLevel()
public abstract java.lang.String getEventListLink(int ref1, int ref2, com.serotonin.m2m2.i18n.Translations translations)
ref1
- the first reference id of the eventref2
- the second reference id of the eventtranslations
- the translations object with which to translate translatable messages
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |