public abstract class BasicAlertChannel extends java.lang.Object implements AlertChannel, PluginComponent
REVISION
Constructor and Description |
---|
BasicAlertChannel() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIcon()
Returns the icon of the AlertChannel.
|
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
boolean |
isAvailable(Member member)
Returns true if this AlertChannel is available for the given Member.
|
boolean |
saveAlert()
Returns true if the alerts of this channel must be saved.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getLabel, getName, send
public java.lang.String getIcon()
AlertChannel
getIcon
in interface AlertChannel
public boolean isAvailable(Member member)
AlertChannel
isAvailable
in interface AlertChannel
member
- the memberpublic boolean saveAlert()
AlertChannel
saveAlert
in interface AlertChannel
public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling pluginCopyright © 2001-2018 Jalios SA. All Rights Reserved.