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 InstallationDescriptor
InstallationController._insdObject
private InstallationDescriptor
InstallationDescriptorHandler._insdObject
private InstallationDescriptor
InstallationProcessor._insdObject
private InstallationDescriptor
LocalInstallationAgent._insdObject
Fields in org.apache.uima.pear.tools with type parameters of type InstallationDescriptorModifier and TypeFieldDescriptionprivate Hashtable<String,
InstallationDescriptor> InstallationController._installationInsDs
Methods in org.apache.uima.pear.tools that return InstallationDescriptorModifier and TypeMethodDescriptionInstallationDescriptorHandler.getInstallationDescriptor()
InstallationProcessor.getInstallationDescriptor()
PackageBrowser.getInstallationDescriptor()
Loads theINSTALLATION_DESCRIPTOR_FILE
file, 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 aHashtable
that 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 String
InstallationController.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 String
InstallationController.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 String
InstallationController.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 String
InstallationController.buildListOfNetworkParams
(InstallationDescriptor insdObject) Creates a string that contains network parameters (in the JVM '-Dname=value' format) specified in a given installation descriptor object.static Properties
InstallationController.buildTableOfEnvVars
(InstallationDescriptor insdObject) Creates aProperties
table that contains (name, value) pairs of environment variables settings for a given installation descriptor object.static boolean
LocalInstallationAgent.checkPackageConfig
(Properties packageConfig, InstallationDescriptor insdObject) Checks that a specified PEAR configuration corresponds to a given installation descriptor.static void
InstallationProcessor.generateVSDescriptor
(InstallationDescriptor insdObject, File mainRootDir) Generates default Vinci Service descriptor for a specified component, and puts it to a specified location.static InputStream
InstallationProcessor.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 String
InstallationProcessor.generateVSDescriptorContent
(InstallationDescriptor insdObject) Generates the default Vinci Service descriptor content for a specified component.static InputStream
InstallationDescriptorHandler.getInstallationDescriptorAsStream
(InstallationDescriptor insdObject) Returns the content of the installation descriptor XML file for a given intallation descriptor object asInputStream
object (for use in Eclipse plug-in).static void
LocalInstallationAgent.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 void
LocalInstallationAgent.localizeInstallationDescriptor
(InstallationDescriptor insdObject, Properties packageConfig) Performs localization of a given installation descriptor object using information from a specified PEAR configuration.static void
InstallationDescriptorHandler.printInstallationDescriptor
(InstallationDescriptor insdObject, PrintWriter oWriter) Prints a givenInstallationDescriptor
object in XML format to a givenPrintWriter
.static void
InstallationDescriptorHandler.saveInstallationDescriptor
(InstallationDescriptor insdObject, File xmlFile) Saves a givenInstallationDescriptor
object 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 InstallationDescriptor -
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._dlgInstDescs
private InstallationDescriptor
PMController._outAggInstDesc
Methods in org.apache.uima.tools.pear.merger that return InstallationDescriptorModifier and TypeMethodDescription(package private) static InstallationDescriptor
PMControllerHelper.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 InstallationDescriptor
PMControllerHelper.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 AnalysisEngineDescription
PMUimaAgent.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 InstallationDescriptor
PMControllerHelper.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 void
PMControllerHelper.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 ResourceSpecifier
PMUimaAgent.retrieveDelegateSpecifier
(File aggRootDir, InstallationDescriptor dlgInstDesc) CreatesResourceSpecifier
object for a delegate component descriptor, specified by a givenInstallationDescriptor
object.