Class UimacppEngine


  • public class UimacppEngine
    extends Object
    • Method Detail

      • configureResourceManager

        public static void configureResourceManager​(String workDirectory,
                                                    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​(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 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 String getTafJNIVersion()
                                       throws UimacppException
        helper function to get the TAF JNI version.
        Returns:
        Taf JNI Version
        Throws:
        UimacppException - wraps any exception