Class UimacppEngine


  • public class UimacppEngine
    extends java.lang.Object
    • Method Detail

      • configureResourceManager

        public static void configureResourceManager​(java.lang.String workDirectory,
                                                    java.lang.String dataDirectory)
                                             throws UimacppException
        Configure the TAF Resource Manager.
        Parameters:
        workDirectory - the work directory
        dataDirectory - the data directory
        Throws:
        UimacppException - wraps any exception
      • createJTafTAE

        public static UimacppEngine createJTafTAE​(java.lang.String configFile)
                                           throws UimacppException
        create a TAF engine with a config file
        Parameters:
        configFile - the configuration file used for initialization
        Returns:
        a UimacppEngine
        Throws:
        UimacppException - pass thru
      • collectionProcessComplete

        public void collectionProcessComplete()
                                       throws UimacppException
        CasConsumer collectionProcessComplete
        Throws:
        UimacppException - wraps any exception
      • getErrorMessage

        public static java.lang.String getErrorMessage​(long errorCode)
                                                throws UimacppException
        helper function to get the error message for some TAF error ID.
        Parameters:
        errorCode - the code used as the key to look up the error message
        Returns:
        the error message
        Throws:
        UimacppException - wraps any exception
      • getTafJNIVersion

        public static java.lang.String getTafJNIVersion()
                                                 throws UimacppException
        helper function to get the TAF JNI version.
        Returns:
        Taf JNI Version
        Throws:
        UimacppException - wraps any exception
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable