public abstract class APISupport extends AbstractAPISupport
Modifier and Type | Field and Description |
---|---|
protected org.bukkit.plugin.Plugin |
target |
plugin
Constructor and Description |
---|
APISupport(TriggerReactorCore plugin,
String targetPluginName) |
Modifier and Type | Method and Description |
---|---|
static boolean |
addSharedVars(String name,
Class<? extends AbstractAPISupport> clazz) |
static Map<String,Class<? extends AbstractAPISupport>> |
getSharedVars() |
void |
init()
Initialize this API.
|
addSharedVar
public APISupport(TriggerReactorCore plugin, String targetPluginName)
public void init() throws APISupportException
init
in class AbstractAPISupport
APISupportException
- throw this exception when the supporting API is not loaded or not found.public static boolean addSharedVars(String name, Class<? extends AbstractAPISupport> clazz)
public static Map<String,Class<? extends AbstractAPISupport>> getSharedVars()