Package me.kzheart.klib.guard
Class KlibCloudPlugin
java.lang.Object
me.kzheart.klib.guard.KlibCloudPlugin
- All Implemented Interfaces:
RemotePluginEntrypoint
由 Guard 中央门户加载的单个商品 Klib 生命周期基类。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Fileprotected voiddisable()protected final PluginHosthost()protected voidload()protected final me.kzheart.klib.KLoggerlogger()final voidfinal voidonEnable()final voidonLoad(PluginHost value) protected final me.kzheart.klib.scope.Scopeprotected abstract voidsetup(me.kzheart.klib.scope.Scope root)
-
Constructor Details
-
KlibCloudPlugin
public KlibCloudPlugin()
-
-
Method Details
-
load
- Throws:
Exception
-
setup
protected abstract void setup(me.kzheart.klib.scope.Scope root) -
disable
- Throws:
Exception
-
onLoad
- Specified by:
onLoadin interfaceRemotePluginEntrypoint- Throws:
Exception
-
onEnable
public final void onEnable()- Specified by:
onEnablein interfaceRemotePluginEntrypoint
-
onDisable
- Specified by:
onDisablein interfaceRemotePluginEntrypoint- Throws:
Exception
-
host
-
dataFolder
-
logger
protected final me.kzheart.klib.KLogger logger() -
rootScope
protected final me.kzheart.klib.scope.Scope rootScope()
-