Uses of Class
org.apache.uima.pear.tools.InstallationDescriptor
-
Packages that use InstallationDescriptor Package Description org.apache.uima.pear.tools Theorg.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.org.apache.uima.tools.pear.install org.apache.uima.tools.pear.merger -
-
Uses of InstallationDescriptor in org.apache.uima.pear.tools
Fields in org.apache.uima.pear.tools declared as InstallationDescriptor Modifier and Type Field Description private 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 InstallationDescriptor Modifier and Type Field Description private java.util.Hashtable<java.lang.String,InstallationDescriptor>
InstallationController. _installationInsDs
Methods in org.apache.uima.pear.tools that return InstallationDescriptor Modifier and Type Method Description InstallationDescriptor
InstallationDescriptorHandler. getInstallationDescriptor()
InstallationDescriptor
InstallationProcessor. getInstallationDescriptor()
InstallationDescriptor
PackageBrowser. getInstallationDescriptor()
Loads theINSTALLATION_DESCRIPTOR_FILE
file, and creates theInstallationDescriptor
(InsD) object.InstallationDescriptor
InstallationController. installComponent()
Performs installation of the specified component in the specified target directory, including all delegate components (if exist).InstallationDescriptor
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 InstallationDescriptor Modifier and Type Method Description protected static java.util.Hashtable<java.lang.String,InstallationDescriptor>
InstallationController. getDelegateInstallationDescriptors(java.util.Hashtable<java.lang.String,java.lang.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 InstallationDescriptor Modifier and Type Method Description static java.lang.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 java.lang.String
InstallationController. buildComponentClassPath(java.lang.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 java.lang.String
InstallationController. buildComponentPath(java.lang.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 java.lang.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 java.lang.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 java.util.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(java.util.Properties packageConfig, InstallationDescriptor insdObject)
Checks that a specified PEAR configuration corresponds to a given installation descriptor.static void
InstallationProcessor. generateVSDescriptor(InstallationDescriptor insdObject, java.io.File mainRootDir)
Generates default Vinci Service descriptor for a specified component, and puts it to a specified location.static java.io.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 java.lang.String
InstallationProcessor. generateVSDescriptorContent(InstallationDescriptor insdObject)
Generates the default Vinci Service descriptor content for a specified component.static java.io.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(java.io.File file, InstallationDescriptor insdObject, java.util.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, java.util.Properties packageConfig)
Performs localization of a given installation descriptor object using information from a specified PEAR configuration.static void
InstallationDescriptorHandler. printInstallationDescriptor(InstallationDescriptor insdObject, java.io.PrintWriter oWriter)
Prints a givenInstallationDescriptor
object in XML format to a givenPrintWriter
.static void
InstallationDescriptorHandler. saveInstallationDescriptor(InstallationDescriptor insdObject, java.io.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 Modifier and Type Field Description private static InstallationDescriptor
InstallPear. insdObject
The insd object. -
Uses of InstallationDescriptor in org.apache.uima.tools.pear.merger
Fields in org.apache.uima.tools.pear.merger declared as InstallationDescriptor Modifier and Type Field Description private InstallationDescriptor[]
PMController. _dlgInstDescs
private InstallationDescriptor
PMController. _outAggInstDesc
Methods in org.apache.uima.tools.pear.merger that return InstallationDescriptor Modifier and Type Method Description (package private) static InstallationDescriptor
PMControllerHelper. generateMergedInstallationDescriptor(java.io.File rootDir, java.lang.String aggCompName, java.io.File aggDescFile, InstallationDescriptor[] dlgInstDescs, java.io.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(java.io.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 InstallationDescriptor Modifier and Type Method Description (package private) static AnalysisEngineDescription
PMUimaAgent. createAggregateDescription(java.lang.String aggCompName, java.io.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(java.io.File rootDir, java.lang.String aggCompName, java.io.File aggDescFile, InstallationDescriptor[] dlgInstDescs, java.io.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(java.io.File rootDir, java.lang.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(java.io.File aggRootDir, InstallationDescriptor dlgInstDesc)
CreatesResourceSpecifier
object for a delegate component descriptor, specified by a givenInstallationDescriptor
object.
-