|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.pear.tools.PackageInstaller
public class PackageInstaller
The PackageInstaller
class is the main user API for installing
PEAR packages. The class has a static method installPackage
to
install PEAR packages that returns a PackageBrowser
object
containing all the needed information about the installed PEAR package.
PackageBrowser
Constructor Summary | |
---|---|
PackageInstaller()
|
Method Summary | |
---|---|
static PackageBrowser |
installPackage(File installDir,
File pearPackage,
boolean verify)
Installs the specified PEAR package to the specified install location. |
static PackageBrowser |
installPackage(File installDir,
File pearPackage,
boolean verify,
boolean cleanInstallDir)
Installs the specified PEAR package to the specified install location. |
static PackageBrowser |
installPackage(File installDir,
File pearPackage,
boolean verify,
boolean cleanInstallDir,
boolean installToTopLevelDir)
Installs the specified PEAR package to the specified install location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageInstaller()
Method Detail |
---|
public static PackageBrowser installPackage(File installDir, File pearPackage, boolean verify) throws PackageInstallerException
installDir
- PEAR package install locationpearPackage
- PEAR package file location to installverify
- If true the PEAR package verification is done after the
installation
PackageBrowser
object containing all PEAR
package install settings
PackageInstallerException
- If an error occurred during the pear installation or
verification.public static PackageBrowser installPackage(File installDir, File pearPackage, boolean verify, boolean cleanInstallDir) throws PackageInstallerException
installDir
- PEAR package install locationpearPackage
- PEAR package file location to installverify
- If true the PEAR package verification is done after the
installationcleanInstallDir
- If true
, the target installation directory will
be cleaned before the PEAR file is installed.
PackageBrowser
object containing all PEAR
package install settings
PackageInstallerException
- If an error occurred during the pear installation or
verification.public static PackageBrowser installPackage(File installDir, File pearPackage, boolean verify, boolean cleanInstallDir, boolean installToTopLevelDir) throws PackageInstallerException
installDir
- PEAR package install locationpearPackage
- PEAR package file location to installverify
- If true the PEAR package verification is done after the
installationcleanInstallDir
- If true
, the target installation directory will
be cleaned before the PEAR file is installed.installToTopLevelDir
- If true
, the PEAR is installed directly into the
installDir
. No intermediate directory with the component name is
created. Defaults to false
in the overloads of this method.
PackageBrowser
object containing all PEAR
package install settings
PackageInstallerException
- If an error occurred during the pear installation or
verification.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |