| Package | Description |
|---|---|
| org.pentaho.packageManagement |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultPackage
A concrete implementation of Package that uses Java properties files/classes
to manage package meta data.
|
| Modifier and Type | Field and Description |
|---|---|
protected Package |
Dependency.m_sourcePackage
The source package
|
protected Package |
PackageConstraint.m_thePackage |
| Modifier and Type | Method and Description |
|---|---|
abstract Package |
PackageManager.getInstalledPackageInfo(String packageName)
Get package information on the named installed package.
|
Package |
DefaultPackageManager.getInstalledPackageInfo(String packageName)
Get package information on the named installed package.
|
Package |
PackageConstraint.getPackage()
Get the package that this constraint applies to.
|
abstract Package |
PackageManager.getPackageArchiveInfo(String packageArchivePath)
Get package information from the supplied package archive file.
|
Package |
DefaultPackageManager.getPackageArchiveInfo(String packageArchivePath)
Get package information from the supplied package archive file.
|
abstract Package |
PackageManager.getRepositoryPackageInfo(String packageName)
Get package information on the named package from the repository.
|
Package |
DefaultPackageManager.getRepositoryPackageInfo(String packageName)
Get package information on the named package from the repository.
|
abstract Package |
PackageManager.getRepositoryPackageInfo(String packageName,
Object version)
Get package information on the named package from the repository.
|
Package |
DefaultPackageManager.getRepositoryPackageInfo(String packageName,
Object version)
Get package information on the named package from the repository.
|
Package |
Dependency.getSource()
Get the source package.
|
abstract Package |
PackageManager.getURLPackageInfo(URL packageURL)
Get package information on the package at the given URL.
|
Package |
DefaultPackageManager.getURLPackageInfo(URL packageURL)
Get package information on the package at the given URL.
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<Package> |
PackageManager.getAllPackages(PrintStream... progress)
Get all packages that the system knows about (i.e.
|
List<Package> |
DefaultPackageManager.getAllPackages(PrintStream... progress)
Get all packages that the system knows about (i.e.
|
abstract List<Package> |
PackageManager.getAvailablePackages()
Get a list of packages that are not currently installed.
|
List<Package> |
DefaultPackageManager.getAvailablePackages()
Get a list of packages that are not currently installed.
|
abstract List<Package> |
PackageManager.getInstalledPackages()
Get a list of installed packages.
|
List<Package> |
DefaultPackageManager.getInstalledPackages()
Get a list of installed packages.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
VersionRangePackageConstraint.checkConstraint(Package target)
Check the target package against the constraint embodied
in this PackageConstraint.
|
boolean |
VersionPackageConstraint.checkConstraint(Package target)
Check the target package against the constraint embodied in this
PackageConstraint.
|
abstract boolean |
PackageConstraint.checkConstraint(Package target)
Check the target package against the constraint embodied
in this PackageConstraint.
|
boolean |
Package.equals(Package toCompare)
Compare the supplied package to this package.
|
abstract List<Dependency> |
PackageManager.getAllDependenciesForPackage(Package target,
Map<String,List<Dependency>> conflicts)
Gets a full list of packages (encapsulated in Dependency objects) that are
required by directly and indirectly by the named target package.
|
List<Dependency> |
DefaultPackageManager.getAllDependenciesForPackage(Package target,
Map<String,List<Dependency>> conflicts)
Gets a full list of packages (encapsulated in Dependency objects) that are
required by directly and indirectly by the named target package.
|
void |
PackageConstraint.setPackage(Package p)
Set the package that this constraint applies to.
|
void |
Dependency.setSource(Package source)
Set the source package.
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<Dependency> |
Package.getIncompatibleDependencies(List<Package> packages)
Gets those packages from the supplied list that this package depends on
and are currently incompatible with this package.
|
List<Dependency> |
DefaultPackage.getIncompatibleDependencies(List<Package> packages)
Gets those packages from the supplied list that this package depends on and
are currently incompatible with this package.
|
abstract List<Dependency> |
Package.getMissingDependencies(List<Package> packages)
Gets a list of packages that this package depends on that are not
in the supplied list of packages.
|
List<Dependency> |
DefaultPackage.getMissingDependencies(List<Package> packages)
Gets a list of packages that this package depends on that are not in the
supplied list of packages.
|
abstract void |
PackageManager.installPackages(List<Package> toInstall,
PrintStream... progress)
Installs all the packages in the supplied list.
|
void |
DefaultPackageManager.installPackages(List<Package> toInstall,
PrintStream... progress)
Installs all the packages in the supplied list.
|
| Constructor and Description |
|---|
Dependency(Package source,
PackageConstraint target)
Construct a new Dependency from a supplied source package and
PackageConstraint containing the target package.
|
VersionPackageConstraint(Package p) |
VersionRangePackageConstraint(Package p)
Constructor
|
Copyright © 2013. All Rights Reserved.