|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface URISpecifier
A type of ResourceSpecifier
that locates an existing Resource
service by its URI.
Field Summary | |
---|---|
static String |
RESOURCE_TYPE_ANALYSIS_ENGINE
Value for getResourceType() representing an Analysis Engine. |
static String |
RESOURCE_TYPE_CAS_CONSUMER
Value for getResourceType() representing a CAS Consumer. |
Method Summary | |
---|---|
Parameter[] |
getParameters()
|
String |
getProtocol()
Gets the name of the Protocol used to communicate with the service. |
String |
getResourceType()
Retrieves the type of Resource (e.g. |
Integer |
getTimeout()
Gets the timeout period in milliseconds. |
String |
getUri()
Retrieves the URI at which a Resource may be located. |
void |
setParameters(Parameter[] parameters)
|
void |
setProtocol(String aProtocol)
Sets the name of the Protocol used to communicate with the service. |
void |
setResourceType(String aResourceType)
Sets the type of Resource (e.g. |
void |
setTimeout(Integer aTimeout)
Sets the timeout period in milliseconds. |
void |
setUri(String aUri)
Sets the URI at which a Resource may be located. |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Field Detail |
---|
static final String RESOURCE_TYPE_ANALYSIS_ENGINE
getResourceType()
representing an Analysis Engine.
static final String RESOURCE_TYPE_CAS_CONSUMER
getResourceType()
representing a CAS Consumer.
Method Detail |
---|
String getResourceType()
void setResourceType(String aResourceType)
aResourceType
- the type of Resource. This should be one of the constants on this class, or null to
indicate that the resource type is not specified.String getUri()
String getProtocol()
Constants
class.
Integer getTimeout()
void setUri(String aUri)
aUri
- a URI stringvoid setProtocol(String aProtocol)
Constants
class.
aProtocol
- the name of the protocol.void setTimeout(Integer aTimeout)
aTimeout
- the timeout period in milliseconds. A null value indicates that the transport layer's
default value will be used.Parameter[] getParameters()
void setParameters(Parameter[] parameters)
parameters
- The Parameters to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |