public interface PearSpecifier extends ResourceServiceSpecifier
ResourceSpecifier that locate an installed pear Resource.| Modifier and Type | Method and Description |
|---|---|
Parameter[] |
getParameters()
Deprecated.
These parameters only support string values. Better use
getPearParameters(). |
NameValuePair[] |
getPearParameters()
Gets parameters that may be read by the pear resource class when it is initialized.
|
String |
getPearPath()
Retrieves the PEAR path at which the pear Resource is located.
|
void |
setParameters(Parameter... parameters)
Deprecated.
These parameters only support string values. Better use
setPearParameters(org.apache.uima.resource.metadata.NameValuePair...). |
void |
setPearParameters(NameValuePair... pearParameters)
Sets pearParameters that may be read by the pear resource class when it is initialized.
|
void |
setPearPath(String aPearPath)
Sets the PEAR path at which a Resource is located.
|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlbuildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXMLString getPearPath()
void setPearPath(String aPearPath)
aPearPath - a pear path string@Deprecated Parameter[] getParameters()
getPearParameters().
<parameters>
<parameter name="param1" value="val1"/>
</parameters>
null.@Deprecated void setParameters(Parameter... parameters)
setPearParameters(org.apache.uima.resource.metadata.NameValuePair...).parameters - the Parameters to set.getParameters()NameValuePair[] getPearParameters()
<pearParameters>
<nameValuePair>
<name>param1</name>
<value><string>val1</string></value>
</nameValuePair>
</pearParameters>
null.void setPearParameters(NameValuePair... pearParameters)
pearParameters - the pearParameters to set.getPearParameters()Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.