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, waitafterRun, beforeStoppublic int currentAPILevel()
LevelcurrentAPILevel 在接口中 Levelpublic void afterInstall(PluginContext context)
afterInstall 在接口中 PluginLifecycleMonitorpublic void beforeUninstall(PluginContext context)
beforeUninstall 在接口中 PluginLifecycleMonitorpublic void afterUpdate(PluginContext context)
afterUpdate 在接口中 PluginLifecycleMonitor