Uses of Class
org.apache.uima.pear.tools.InstallationDescriptor
Packages that use InstallationDescriptor
Package
Description
The
org.apache.uima.pear.tools package provides applications
and tools that allow installing PEAR packages containing UIMA-compliant
components, verifying serviceability of installed components by using
UIMA API and browsing PEAR packages.-
Uses of InstallationDescriptor in org.apache.uima.pear.tools
Fields in org.apache.uima.pear.tools declared as InstallationDescriptorModifier and TypeFieldDescriptionprivate InstallationDescriptorInstallationController._insdObjectprivate InstallationDescriptorInstallationDescriptorHandler._insdObjectprivate InstallationDescriptorInstallationProcessor._insdObjectprivate InstallationDescriptorLocalInstallationAgent._insdObjectFields in org.apache.uima.pear.tools with type parameters of type InstallationDescriptorModifier and TypeFieldDescriptionprivate Hashtable<String, InstallationDescriptor> InstallationController._installationInsDsMethods in org.apache.uima.pear.tools that return InstallationDescriptorModifier and TypeMethodDescriptionInstallationDescriptorHandler.getInstallationDescriptor()InstallationProcessor.getInstallationDescriptor()PackageBrowser.getInstallationDescriptor()Loads theINSTALLATION_DESCRIPTOR_FILEfile, and creates theInstallationDescriptor(InsD) object.InstallationController.installComponent()Performs installation of the specified component in the specified target directory, including all delegate components (if exist).InstallationController.installComponentDescriptors()Performs installation of XML descriptors of the specified component in the specified target directory, including XML descriptors of all the delegate components (if exist).Methods in org.apache.uima.pear.tools that return types with arguments of type InstallationDescriptorModifier and TypeMethodDescriptionprotected static Hashtable<String, InstallationDescriptor> InstallationController.getDelegateInstallationDescriptors(Hashtable<String, String> installationTable) Creates aHashtablethat contains (compId, InsD) pairs for all separate delegate components specified in a given installation table.Methods in org.apache.uima.pear.tools with parameters of type InstallationDescriptorModifier and TypeMethodDescriptionstatic String[]InstallationController.buildArrayOfNetworkParams(InstallationDescriptor insdObject) Creates a string array that contains network parameters (in the JVM '-Dname=value' format) specified in a given installation descriptor object.static StringInstallationController.buildComponentClassPath(String compRootDirPath, InstallationDescriptor insdObject, boolean addLibDir) Creates a string that should be added to the CLASSPATH for a given installed component associated with a given installation descriptor object.static StringInstallationController.buildComponentPath(String compRootDirPath, InstallationDescriptor insdObject) Creates a string that should be added to the SPATH for a given installed component associated with a given installation descriptor object.static StringInstallationController.buildListOfEnvVars(InstallationDescriptor insdObject) Creates a string that contains the list of environment variables settings (in the JVM '-Dname=value' format) included in a given installation descriptor object.static StringInstallationController.buildListOfNetworkParams(InstallationDescriptor insdObject) Creates a string that contains network parameters (in the JVM '-Dname=value' format) specified in a given installation descriptor object.static PropertiesInstallationController.buildTableOfEnvVars(InstallationDescriptor insdObject) Creates aPropertiestable that contains (name, value) pairs of environment variables settings for a given installation descriptor object.static booleanLocalInstallationAgent.checkPackageConfig(Properties packageConfig, InstallationDescriptor insdObject) Checks that a specified PEAR configuration corresponds to a given installation descriptor.static voidInstallationProcessor.generateVSDescriptor(InstallationDescriptor insdObject, File mainRootDir) Generates default Vinci Service descriptor for a specified component, and puts it to a specified location.static InputStreamInstallationProcessor.generateVSDescriptorAsStream(InstallationDescriptor insdObject) Generates default Vinci Service descriptor for a specified component, and returns the content of the descriptor as a stream (for Eclipse plug-in).protected static StringInstallationProcessor.generateVSDescriptorContent(InstallationDescriptor insdObject) Generates the default Vinci Service descriptor content for a specified component.static InputStreamInstallationDescriptorHandler.getInstallationDescriptorAsStream(InstallationDescriptor insdObject) Returns the content of the installation descriptor XML file for a given intallation descriptor object asInputStreamobject (for use in Eclipse plug-in).static voidLocalInstallationAgent.localizeComponentFile(File file, InstallationDescriptor insdObject, Properties packageConfig) Performs localization of a given component file using information from a given installation descriptor and a specified PEAR configuration.static voidLocalInstallationAgent.localizeInstallationDescriptor(InstallationDescriptor insdObject, Properties packageConfig) Performs localization of a given installation descriptor object using information from a specified PEAR configuration.static voidInstallationDescriptorHandler.printInstallationDescriptor(InstallationDescriptor insdObject, PrintWriter oWriter) Prints a givenInstallationDescriptorobject in XML format to a givenPrintWriter.static voidInstallationDescriptorHandler.saveInstallationDescriptor(InstallationDescriptor insdObject, File xmlFile) Saves a givenInstallationDescriptorobject in a given XML file. -
Uses of InstallationDescriptor in org.apache.uima.tools.pear.install
Fields in org.apache.uima.tools.pear.install declared as InstallationDescriptorModifier and TypeFieldDescriptionprivate static InstallationDescriptorInstallPear.insdObjectThe insd object. -
Uses of InstallationDescriptor in org.apache.uima.tools.pear.merger
Fields in org.apache.uima.tools.pear.merger declared as InstallationDescriptorModifier and TypeFieldDescriptionprivate InstallationDescriptor[]PMController._dlgInstDescsprivate InstallationDescriptorPMController._outAggInstDescMethods in org.apache.uima.tools.pear.merger that return InstallationDescriptorModifier and TypeMethodDescription(package private) static InstallationDescriptorPMControllerHelper.generateMergedInstallationDescriptor(File rootDir, String aggCompName, File aggDescFile, InstallationDescriptor[] dlgInstDescs, File[] dlgRootDirs) Creates and saves installation descriptor for the merged PEAR, based on given output root directory, output aggregate component descriptor file, output aggregate component name (ID), array of delegate (input) installation descriptors and array of output delegate root directories.(package private) static InstallationDescriptorPMControllerHelper.processDescriptors(File rootDir) Processes all delegate installation descriptors, component descriptors and configuration files, adjusting 'macros' for a given delegate root directory.Methods in org.apache.uima.tools.pear.merger with parameters of type InstallationDescriptorModifier and TypeMethodDescription(package private) static AnalysisEngineDescriptionPMUimaAgent.createAggregateDescription(String aggCompName, File aggRootDir, InstallationDescriptor[] dlgInstDescs) Creates UIMA aggregate analysis engine description object, based on given aggregate component name (ID), aggregate root directory and array of delegate installation descriptors.(package private) static InstallationDescriptorPMControllerHelper.generateMergedInstallationDescriptor(File rootDir, String aggCompName, File aggDescFile, InstallationDescriptor[] dlgInstDescs, File[] dlgRootDirs) Creates and saves installation descriptor for the merged PEAR, based on given output root directory, output aggregate component descriptor file, output aggregate component name (ID), array of delegate (input) installation descriptors and array of output delegate root directories.(package private) static voidPMControllerHelper.processFiles(File rootDir, String targetDirName, InstallationDescriptor insdObject) Processes all files in a given target directory, adjusting 'macros' for a given delegate root directory.private static ResourceSpecifierPMUimaAgent.retrieveDelegateSpecifier(File aggRootDir, InstallationDescriptor dlgInstDesc) CreatesResourceSpecifierobject for a delegate component descriptor, specified by a givenInstallationDescriptorobject.