Class CpeConfigurationImpl

    • Constructor Detail

      • CpeConfigurationImpl

        public CpeConfigurationImpl()
    • Method Detail

      • setDeployment

        public void setDeployment​(java.lang.String aDeploy)
                           throws CpeDescriptorException
        Description copied from interface: CpeConfiguration
        Sets CPE deployment mode as "immediate", "vinceService", "interactive". The CPE does not directly use this information, instead it is up to the application using the CPE to ingest this and handle it as appropriate. This element is used by an application that uses the CPE. The CPE is an embeddable component, part of a larger application.
        • "immediate" mode: this is the way the CPE is typically run. In this mode the application is initializing the CPE and starts in without user interaction. The CPE runs to completion in this case.
        • "interactive" mode: The application interacts with the CPE via an API to stop, pause, or resume the CPE.
        • "vinciService" mode: used to indicate control of CPE in terms of stop, pause, resume, and query for performance info, from a remote console.
        Specified by:
        setDeployment in interface CpeConfiguration
        Parameters:
        aDeploy - - deployment mode of the CPE
        Throws:
        CpeDescriptorException - tbd
      • getNumToProcess

        public int getNumToProcess()
        Description copied from interface: CpeConfiguration
        Returns number of entities to process
        Specified by:
        getNumToProcess in interface CpeConfiguration
        Returns:
        - number of entities to process (-1 - for ALL)
      • setStartingEntityId

        public void setStartingEntityId​(java.lang.String aStartAt)
        Description copied from interface: CpeConfiguration
        Sets id of the first entity the CPE will beging processing. Usefull when starting the CPE from a known point.
        Specified by:
        setStartingEntityId in interface CpeConfiguration
        Parameters:
        aStartAt - - id of first entity
      • getStartingEntityId

        public java.lang.String getStartingEntityId()
        Description copied from interface: CpeConfiguration
        Returns id of the first entity the CPE will beging processing. Usefull when starting the CPE from a known point.
        Specified by:
        getStartingEntityId in interface CpeConfiguration
        Returns:
        - id of first entity
      • setCpeTimer

        public void setCpeTimer​(CpeTimer aTimer)
        Description copied from interface: CpeConfiguration
        Sets the timer class implementing UimeTimer interface. This timer will be used to time CPE events. By default, the CPE uses System.currentTimeMillis() to obtain time.
        Specified by:
        setCpeTimer in interface CpeConfiguration
        Parameters:
        aTimer - - timer class
      • getCpeTimer

        public CpeTimer getCpeTimer()
        Description copied from interface: CpeConfiguration
        Returns the timer class implementing UimeTimer interface. This timer will be used to time CPE events. By default, the CPE uses System.currentTimeMillis() to obtain time.
        Specified by:
        getCpeTimer in interface CpeConfiguration
        Returns:
        - timer class
      • getDeployAs

        public java.lang.String getDeployAs()
      • getNum2Process

        public long getNum2Process()
      • getStartAt

        public java.lang.String getStartAt()
      • setDeployAs

        public void setDeployAs​(java.lang.String string)
        Parameters:
        string -
      • setNumToProcess

        public void setNumToProcess​(long l)
        Parameters:
        l -
      • setStartAt

        public void setStartAt​(java.lang.String aStartAt)
        Parameters:
        aStartAt -
      • setTimerImpl

        public void setTimerImpl​(java.lang.String string)
        Parameters:
        string -
      • setOutputQueue

        public void setOutputQueue​(OutputQueue queue)
        Parameters:
        queue -
      • 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