Class Description

    • Method Detail

      • isActive

        public boolean isActive()
        Returns whether this component is active. Non-active components are not stored in the pipeline desc/ directory and also not included in the CPE.xml.
        Returns:
        true, if this component is active, false otherwise.
      • setActive

        public void setActive​(boolean active)
        Parameters:
        active -
        See Also:
        isActive
      • getUimaDescPath

        public String getUimaDescPath()
        This field is set when the owning JCoReUIMAPipeline is stored. The value of this field is the path to the UIMA descriptor associated with this Description relative to the pipeline desc/ directory. It may be null if the descriptor is not stored by itself but rather in an AAE.
        Returns:
        The path to the UIMA descriptor, relative to desc/.
      • setUimaDescPath

        public void setUimaDescPath​(String uimaDescPath)
      • getUri

        public URI getUri()
        Returns:
        The URI of the original UIMA descriptor within a JAR.
      • setUri

        public void setUri​(URI uri)
      • getLocation

        public String getLocation()
        Returns:
        The value of the 'location' property in the component.meta file of the component. This is the classpath resource address of the component UIMA descriptor.
      • setLocation

        public void setLocation​(String location)
      • getDescriptorType

        public String getDescriptorType()
      • getXmlName

        public String getXmlName()
      • setXmlName

        public void setXmlName​(String xmlName)
      • addCapability

        public void addCapability​(String type,
                                  String value)
      • setCapabilities

        public void setCapabilities​(String type,
                                    List<String> values)
      • getInputCapabilities

        public List<String> getInputCapabilities()
      • getOutputCapabilities

        public List<String> getOutputCapabilities()
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getConfigurationParameters

        public Map<String,​org.apache.uima.resource.metadata.ConfigurationParameter> getConfigurationParameters()
      • getConfigurationParameterValue

        public Object getConfigurationParameterValue​(String parameter)
      • setConfigurationParameterValue

        public void setConfigurationParameterValue​(String key,
                                                   Object value)
      • getDescriptor

        public org.apache.uima.resource.metadata.MetaDataObject getDescriptor()
      • setDescriptor

        public void setDescriptor​(org.apache.uima.resource.metadata.MetaDataObject descriptor)
      • getDescriptorAsCollectionReaderDescription

        public org.apache.uima.collection.CollectionReaderDescription getDescriptorAsCollectionReaderDescription()
      • getDescriptorAsAnalysisEngineDescription

        public org.apache.uima.analysis_engine.AnalysisEngineDescription getDescriptorAsAnalysisEngineDescription()
      • getDescriptorAsFlowControllerDescriptor

        public org.apache.uima.flow.FlowControllerDescription getDescriptorAsFlowControllerDescriptor()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setMetaDescription

        public void setMetaDescription​(MetaDescription metaDescription)