Class OperationalProperties_impl

    • Field Detail

      • mModifiesCas

        private boolean mModifiesCas
      • mMultipleDeploymentAllowed

        private boolean mMultipleDeploymentAllowed
      • mOutputsNewCASes

        private boolean mOutputsNewCASes
      • XMLIZATION_INFO

        private static final XmlizationInfo XMLIZATION_INFO
    • Constructor Detail

      • OperationalProperties_impl

        public OperationalProperties_impl()
    • Method Detail

      • getModifiesCas

        public boolean getModifiesCas()
        Description copied from interface: OperationalProperties
        Gets whether this component will modify the CAS.
        Specified by:
        getModifiesCas in interface OperationalProperties
        Returns:
        true if this component modifies the CAS, false if it does not.
      • isMultipleDeploymentAllowed

        public boolean isMultipleDeploymentAllowed()
        Description copied from interface: OperationalProperties
        Gets whether multiple instances of this component can be run in parallel, each receiving a subset of the documents from a collection.
        Specified by:
        isMultipleDeploymentAllowed in interface OperationalProperties
        Returns:
        true if multiple instances can be run in parallel, false if not
      • setModifiesCas

        public void setModifiesCas​(boolean aModifiesCas)
        Description copied from interface: OperationalProperties
        Sets whether this component will modify the CAS.
        Specified by:
        setModifiesCas in interface OperationalProperties
        Parameters:
        aModifiesCas - true if this component modifies the CAS, false if it does not.
      • setMultipleDeploymentAllowed

        public void setMultipleDeploymentAllowed​(boolean aMultipleDeploymentAllowed)
        Description copied from interface: OperationalProperties
        Sets whether multiple instances of this component can be run in parallel, each receiving a subset of the documents from a collection.
        Specified by:
        setMultipleDeploymentAllowed in interface OperationalProperties
        Parameters:
        aMultipleDeploymentAllowed - true if multiple instances can be run in parallel, false if not
      • getOutputsNewCASes

        public boolean getOutputsNewCASes()
        Description copied from interface: OperationalProperties
        Gets whether this AnalysisEngine may output new CASes. If this property is set to true, an application can use the AnalysisEngine.processAndOutputNewCASes(CAS) to pass a CAS to this this AnalysisEngine and then step through all of the output CASes that it produces. For example, such an AnalysisEngine could segment a CAS into smaller pieces, emitting each as a separate CAS.
        Specified by:
        getOutputsNewCASes in interface OperationalProperties
        Returns:
        true if this component may output new CASes, false if it does not
      • setOutputsNewCASes

        public void setOutputsNewCASes​(boolean aOutputsNewCASes)
        Description copied from interface: OperationalProperties
        Sets whether this AnalysisEngine may output new CASes. If this property is set to true, an application can use the AnalysisEngine.processAndOutputNewCASes(CAS) to pass a CAS to this this AnalysisEngine and then step through all of the output CASes that it produces. For example, such an AnalysisEngine could segment a CAS into smaller pieces, emitting each as a separate CAS.
        Specified by:
        setOutputsNewCASes in interface OperationalProperties
        Parameters:
        aOutputsNewCASes - true if this component may output new CASes, false if it does not
      • getXmlizationInfo

        protected XmlizationInfo getXmlizationInfo()
        Description copied from class: MetaDataObject_impl
        To be implemented by subclasses to return information describing how to represent this object in XML.
        Specified by:
        getXmlizationInfo in class MetaDataObject_impl
        Returns:
        information defining this object's XML representation