Class RuntimeUtils


  • public final class RuntimeUtils
    extends Object
    Utility class for client library.
    • Method Detail

      • checkNullParams

        public static void checkNullParams​(String[] paramNames,
                                           Object[] params)
        Check if some parameter is null and throw exception if so.
        Parameters:
        paramNames - Names of parameters
        params - Parameters to check.
      • checkConnection

        public static void checkConnection​(LogicModuleAPI logicModule)
        Check if connection to LogicModule is OK
        Parameters:
        logicModule - API to connect to
      • checkConnection

        public static void checkConnection​(DataServiceAPI dataservice)
        Check if connection to DataService is OK
        Parameters:
        dataservice - DataService API to connect to
      • checkSession

        public static void checkSession​(SessionID sessionID)
        Check if session ID is OK
        Parameters:
        sessionID - ID of session
      • newReference

        public static Reference<DataClayObject> newReference​(DataClayObject dcObject)
        Get new reference
        Parameters:
        dcObject - DataClayObject to get reference from.
        Returns:
        Reference.