Package org.apache.uima.pear.tools
Interface InstallationController.PackageSelector
-
- All Known Implementing Classes:
PackageSelectorGUI,SimplePackageSelector
- Enclosing class:
- InstallationController
public static interface InstallationController.PackageSelectorThePackageSelectorinterface defines methods required for manually or automatically selecting installed PEAR package root directories and PEAR package files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileselectPackageDirectory(String componentId)Selects root directory of an installed PEAR package in the local file system.FileselectPackageFile(String componentId)Selects a PEAR package file in the local file system.URLselectPackageUrl(String componentId)Selects a PEAR package URL in the network.
-
-
-
Method Detail
-
selectPackageDirectory
File selectPackageDirectory(String componentId)
Selects root directory of an installed PEAR package in the local file system. If the given component is not installed yet, returnsnull.- Parameters:
componentId- The ID of the given installed component.- Returns:
- The root directory of the installed PEAR package, or
null, if the given component is not installed yet.
-
selectPackageFile
File selectPackageFile(String componentId)
Selects a PEAR package file in the local file system. If the given component PEAR file is not found, returnsnull.- Parameters:
componentId- The ID of the given component.- Returns:
- The given PEAR package file, or
null, if the PEAR file is not found in the local file system.
-
selectPackageUrl
URL selectPackageUrl(String componentId)
Selects a PEAR package URL in the network. If the given component PEAR package URL is not found, returnsnull.- Parameters:
componentId- The ID of the given component.- Returns:
- The given PEAR package URL, or
null, if the PEAR package URL is not found.
-
-