Package org.drasyl.plugins
Interface DrasylPlugin
-
- All Known Implementing Classes:
AutoloadablePlugin
public interface DrasylPlugin
This interface is implemented by all drasyl plugins.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
description()
List<Handler>
getHandler()
String
name()
The plugin name must be unique.void
onAdded()
This method gets called when the plugin was added to drasyl.void
onRemove()
This method gets called when the plugin was removed from drasyl.
-
-
-
Method Detail
-
name
String name()
The plugin name must be unique.- Returns:
- the plugin name
-
description
String description()
- Returns:
- a description of this plugin
-
onRemove
void onRemove()
This method gets called when the plugin was removed from drasyl.
-
onAdded
void onAdded()
This method gets called when the plugin was added to drasyl.
-
-