Package org.apache.uima.pear.tools
Class InstallationTester
- java.lang.Object
-
- org.apache.uima.pear.tools.InstallationTester
-
public class InstallationTester extends java.lang.Object
TheInstallationTester
application allows performing simple verification of the installed UIMA compliant component by using standard UIMA framework interface.
-
-
Constructor Summary
Constructors Constructor Description InstallationTester(PackageBrowser pkgBrowser)
Creates new instance of theInstallationTester
class, identifies a specified component using UIMA API.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstallationController.TestStatus
doTest()
-
-
-
Constructor Detail
-
InstallationTester
public InstallationTester(PackageBrowser pkgBrowser) throws java.io.IOException, InvalidXMLException, ResourceInitializationException, UIMAException, UIMARuntimeException
Creates new instance of theInstallationTester
class, identifies a specified component using UIMA API.- Parameters:
pkgBrowser
- packageBrowser object of an installed PEAR package- Throws:
java.io.IOException
- if any I/O exception occurred.InvalidXMLException
- if component descriptor is invalid.ResourceInitializationException
- if the specified component cannot be instantiated.UIMAException
- if this exception occurred while identifying UIMA component category.UIMARuntimeException
- if this exception occurred while identifying UIMA component category.
-
-
Method Detail
-
doTest
public InstallationController.TestStatus doTest() throws java.io.IOException, InvalidXMLException, ResourceInitializationException
- Throws:
java.io.IOException
InvalidXMLException
ResourceInitializationException
-
-