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) |
Map<String,PackageAPI.PkgVersion> |
packageDetails()
fetch the package versions of class names
|
String |
packageName()
Name of the package or null to listen to all package changes
|
String packageName()
Map<String,PackageAPI.PkgVersion> packageDetails()
void changed(PackageLoader.Package pkg, PackageListeners.Listener.Ctx ctx)
default MapWriter getPackageVersion(PluginInfo.ClassName cName)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.