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
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.