|
static | addActionToCache (hash< auto > action) |
| Adds the given app and actions to the cache.
|
|
static | addAppToCache (hash< auto > app) |
| Adds the given app and actions to the cache.
|
|
static bool | checkAppModule (string app) |
| Try to ensure that any required modules are loaded for the given data provider application.
|
|
static bool | checkFactoryModule (string factory) |
| Try to ensure that any required module is loaded for the given factory.
|
|
static bool | checkSchemeModule (string scheme) |
| Try to ensure that any required modules are loaded for the given connection scheme.
|
|
static *list< string > | getAllAppModulesToLoad () |
| Returns a list of all app modules that have not been returned by a call to this method yet and are not loaded.
|
|
static *list< hash< auto > > | getAllCachedActions () |
| Returns all cached actions.
|
|
static *list< hash< auto > > | getCachedApps () |
| Returns a list of cached app info.
|
|
static *LoggerInterface | getGlobalLogger () |
| Returns the global data provider logger.
|
|
static string | getIndexPath (string type) |
| Returns the index path for the given type.
|
|
static | log (Qore::Logger::LoggerLevel level, string fmt,...) |
| Log a message to the global logger if possible.
|
|
static | logArgs (Qore::Logger::LoggerLevel level, string fmt, *softlist< auto > args) |
| Log a message to the global logger if possible.
|
|
static *hash< DataProviderIndexInfo > | readDataProviderIndex () |
| Reads the data provider index from the configured directory.
|
|
static bool | removeCachedApp (string app) |
| Removes the given app and all its actions from the cache.
|
|
static *list< hash< auto > > | searchCachedActionRegex (string regex_pattern, int regex_options=RE_Caseless) |
| Searches for cached actions whose descriptions match a regular expression pattern.
|
|
static *list< hash< auto > > | searchCachedActionSubstr (string substr, bool ignore_case=True) |
| Searches for cached actions whose descriptions match a substring.
|
|
static *list< hash< auto > > | searchCachedAppActionRegex (string app, string regex_pattern, int regex_options=RE_Caseless) |
| Searches for cached application actions whose descriptions match a regular expression pattern.
|
|
static *list< hash< auto > > | searchCachedAppActionSubstr (string app, string substr, bool ignore_case=True) |
| Searches for cached application actions whose descriptions match a substring.
|
|
static *list< hash< auto > > | searchCachedAppRegex (string regex_pattern, int regex_options=RE_Caseless) |
| Searches the app info cache for applications whose names or descriptions match a regular expression pattern.
|
|
static *list< hash< auto > > | searchCachedAppSubstr (string substr, bool ignore_case=True) |
| Searches for cachde applications whose names or descriptions match a substring.
|
|
static | setEnvironmentVariable (string dir) |
| Sets the environment variable.
|
|
static | setGlobalLogger (*LoggerInterface logger) |
| Sets or clears the global logger.
|
|
static *hash< auto > | tryGetAppInfo (string app) |
| Try to return any cached app info for the given app.
|
|
static *list< hash< auto > > | tryGetApproximateActionsForApp (string app) |
| Try to return any cached approximate app action list for the given app.
|
|
static *hash< auto > | tryGetApproximateAppAction (string app, string action) |
| Try to return any cached approximate app action for the given app and action.
|
|
static *string | tryGetIndexDir (*bool throw_exception) |
| Try to get the index directory from the environment variable.
|
|
static bool | tryLoadModule (string mod) |
| Tries to load the given module or path to the module.
|
|
static hash< ProviderIndexInfo > | writeDataProviderIndex (*hash< DataProviderIndexInfo > h, date delta, hash< auto > summary) |
| Writes the data provider index to the configured directory.
|
|