public class PackageLoader extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
class |
PackageLoader.Package
represents a package definition in the packages.json
|
Constructor and Description |
---|
PackageLoader(CoreContainer coreContainer) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Map<String,List<PackageAPI.PkgVersion>> |
getModified(PackageAPI.Packages old,
PackageAPI.Packages newPkgs) |
PackageLoader.Package |
getPackage(String key) |
PackageAPI |
getPackageAPI() |
Map<String,PackageLoader.Package> |
getPackages() |
void |
notifyListeners(String pkg) |
void |
refreshPackageConf() |
public PackageLoader(CoreContainer coreContainer)
public PackageAPI getPackageAPI()
public PackageLoader.Package getPackage(String key)
public Map<String,PackageLoader.Package> getPackages()
public void refreshPackageConf()
public Map<String,List<PackageAPI.PkgVersion>> getModified(PackageAPI.Packages old, PackageAPI.Packages newPkgs)
public void notifyListeners(String pkg)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.