public static interface PackageListeners.Listener
Modifier and Type | Interface and Description |
---|---|
static class |
PackageListeners.Listener.Ctx |
Modifier and Type | Method and Description |
---|---|
void |
changed(PackageLoader.Package pkg,
PackageListeners.Listener.Ctx ctx)
A callback when the package is updated
|
default MapWriter |
getPackageVersion(PluginInfo.ClassName cName) |
String |
packageName()
Name of the package or null to listen to all package changes
|
PluginInfo |
pluginInfo() |
String packageName()
PluginInfo pluginInfo()
void changed(PackageLoader.Package pkg, PackageListeners.Listener.Ctx ctx)
default MapWriter getPackageVersion(PluginInfo.ClassName cName)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.