| Package | Description |
|---|---|
| org.expath.pkg.repo | |
| org.expath.pkg.repo.parser | |
| org.expath.pkg.repo.tools |
| Modifier and Type | Method and Description |
|---|---|
Package |
PackageInfo.getPackage() |
Package |
Repository.installPackage(java.net.URI pkg,
boolean force,
UserInteractionStrategy interact)
Install a XAR package into this repository, from a URI location.
|
Package |
Repository.installPackage(XarSource xarSource,
boolean force,
UserInteractionStrategy interact)
Install a XAR package into this repository.
|
Package |
Packages.latest() |
Package |
Packages.version(java.lang.String version)
Return a specific version of the package.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Package> |
Packages.packages() |
| Modifier and Type | Method and Description |
|---|---|
void |
Packages.add(Package pkg) |
void |
DescriptorExtension.init(Repository repo,
Package pkg) |
abstract void |
Extension.init(Repository repo,
Package pkg)
Initialize a package for a specific extension.
|
abstract void |
Extension.install(Repository repo,
Package pkg)
Additional installation actions needed by a specific extension.
|
protected abstract void |
DescriptorExtension.parseDescriptor(javax.xml.stream.XMLStreamReader parser,
Package pkg) |
void |
FileSystemStorage.remove(Package pkg) |
void |
ClasspathStorage.remove(Package pkg) |
void |
Packages.remove(Package pkg) |
abstract void |
Storage.remove(Package pkg)
Remove a package.
|
void |
FileSystemStorage.storeInstallDir(java.nio.file.Path dir,
java.lang.String key,
Package pkg) |
void |
ClasspathStorage.storeInstallDir(java.nio.file.Path dir,
java.lang.String key,
Package pkg) |
abstract void |
Storage.storeInstallDir(java.nio.file.Path dir,
java.lang.String key,
Package pkg)
Actually store the package in the storage.
|
void |
FileSystemStorage.updatePackageLists(Package pkg) |
void |
ClasspathStorage.updatePackageLists(Package pkg) |
abstract void |
Storage.updatePackageLists(Package pkg)
The package has just been install, record the information if needed.
|
| Constructor and Description |
|---|
PackageInfo(java.lang.String name,
Package pkg) |
| Modifier and Type | Method and Description |
|---|---|
Package |
DescriptorParser.parse(javax.xml.transform.Source desc,
java.lang.String rsrc_name,
Storage storage,
Repository repo)
Parse a package descriptor and build the corresponding
Package object. |
| Modifier and Type | Method and Description |
|---|---|
void |
PkgComponentHandler.handleDescription(javax.xml.stream.XMLStreamReader parser,
Package pkg,
XMLStreamHelper helper)
Handle an element in the package descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PackagesXmlFile.addPackage(Package pkg,
java.lang.String dir)
Add a package to packages.xml.
|
void |
PackagesTxtFile.addPackage(Package pkg,
java.lang.String pkg_dir) |
Copyright © 2015-2024 EXPath. All Rights Reserved