public abstract class AbstractPluginLifecycleMonitor extends java.lang.Object implements PluginLifecycleMonitor
CURRENT_LEVEL
构造器和说明 |
---|
AbstractPluginLifecycleMonitor() |
限定符和类型 | 方法和说明 |
---|---|
void |
afterInstall(PluginContext context) |
void |
afterUpdate(PluginContext context) |
void |
beforeUninstall(PluginContext context) |
int |
currentAPILevel()
当前接口的API等级,用于判断是否需要升级插件
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterRun, beforeStop
public int currentAPILevel()
Level
currentAPILevel
在接口中 Level
public void afterInstall(PluginContext context)
afterInstall
在接口中 PluginLifecycleMonitor
public void beforeUninstall(PluginContext context)
beforeUninstall
在接口中 PluginLifecycleMonitor
public void afterUpdate(PluginContext context)
afterUpdate
在接口中 PluginLifecycleMonitor