<< SLeeLa Standard Library Definition. Definition: Element factories for the common osls_* C ABI. These elements describe existing root-library exports and their capability groups. They bind through OP_OSLS_CALL (155) to a typed native registry; all record/collection results are returned as bounded JSON Strings. >> #sleela 2.5 material; class SLOsSupportOSLSElements { < ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- > << Eleven catalogued attributes with getter/setter pairs, so a GUI, loader, or catalog can read and (where appropriate) override each record. Values are faithful to the subject's real origin where publicly known. >> String metaVersion = "1.0.0"; int metaId = 0; String metaAuthor = "mearvk"; String metaDate = "2026-11-05"; String metaCopyright = "Copyright mearvk LLC"; String metaTrademark = "none"; String metaCorporation = "mearvk LLC"; < metaOrigin: National | | International | Galactic > String metaOrigin = "International"; String metaBirthDate = "2026-11-05"; < metaScienceRating: maturity/robustness on a 1..10 scale > int metaScienceRating = 8; < metaNationalSchedule: a real, citable instrument or "none" > String metaNationalSchedule = "none"; String getMetaVersion() { return metaVersion; } void setMetaVersion(String value) { metaVersion = value; } int getMetaId() { return metaId; } void setMetaId(int value) { metaId = value; } String getMetaAuthor() { return metaAuthor; } void setMetaAuthor(String value) { metaAuthor = value; } String getMetaDate() { return metaDate; } void setMetaDate(String value) { metaDate = value; } String getMetaCopyright() { return metaCopyright; } void setMetaCopyright(String value) { metaCopyright = value; } String getMetaTrademark() { return metaTrademark; } void setMetaTrademark(String value) { metaTrademark = value; } String getMetaCorporation() { return metaCorporation; } void setMetaCorporation(String value) { metaCorporation = value; } String getMetaOrigin() { return metaOrigin; } void setMetaOrigin(String value) { metaOrigin = value; } String getMetaBirthDate() { return metaBirthDate; } void setMetaBirthDate(String value) { metaBirthDate = value; } int getMetaScienceRating() { return metaScienceRating; } void setMetaScienceRating(int value) { metaScienceRating = value; } String getMetaNationalSchedule() { return metaNationalSchedule; } void setMetaNationalSchedule(String value) { metaNationalSchedule = value; } SLOsSupportElement cronNextAfter() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("cronNextAfter", "Scheduling", "OSScheduler", "OP_OSLS_CALL:155/11", "osls_cron_next_after", "osls_cron_next_after", "CommonBackend", "ReadOnlyQuery", "Implemented", 2, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement cronValidate() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("cronValidate", "Scheduling", "OSScheduler", "OP_OSLS_CALL:155/10", "osls_cron_validate", "osls_cron_validate", "CommonBackend", "ReadOnlyQuery", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement enumerateEnvironment() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("enumerateEnvironment", "Environment", "OSEnvironment", "OP_OSLS_CALL:155/4", "osls_enumerate_environment", "osls_enumerate_environment", "CommonBackend", "ReadOnlyEnumeration", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement enumerateProcesses() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("enumerateProcesses", "ProcessInspection", "OSProcess", "OP_OSLS_CALL:155/2", "osls_enumerate_processes", "osls_enumerate_processes", "CommonBackend", "ReadOnlyEnumeration", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getCPUInfo() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getCPUInfo", "CPUArchitecture", "OSCPU", "OP_OSLS_CALL:155/7", "osls_get_cpu_info", "osls_get_cpu_info", "CommonBackend", "ReadOnlyQuery", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getEnvironmentValue() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getEnvironmentValue", "Environment", "OSEnvironment", "OP_OSLS_CALL:155/3", "osls_get_environment_value", "osls_get_environment_value", "CommonBackend", "ReadOnlyQuery", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getFileInfo() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getFileInfo", "FileSystem", "OSFileSystem", "OP_OSLS_CALL:155/5", "osls_get_file_info", "osls_get_file_info", "CommonBackend", "ReadOnlyQuery", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getNetworkInterfaces() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getNetworkInterfaces", "NetworkInterfaces", "OSNetwork", "OP_OSLS_CALL:155/9", "osls_get_network_interfaces", "osls_get_network_interfaces", "CommonBackend", "ReadOnlyEnumeration", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getProcessInfo() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getProcessInfo", "ProcessInspection", "OSProcess", "OP_OSLS_CALL:155/1", "osls_get_process_info", "osls_get_process_info", "CommonBackend", "ReadOnlyQuery", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getSystemInfo() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getSystemInfo", "HostIdentity", "OSHost", "OP_OSLS_CALL:155/0", "osls_get_system_info", "osls_get_system_info", "CommonBackend", "ReadOnlyQuery", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getTimezoneInfo() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getTimezoneInfo", "TimeZoneCalendar", "OSTimeZone", "OP_OSLS_CALL:155/8", "osls_get_timezone_info", "osls_get_timezone_info", "CommonBackend", "ReadOnlyQuery", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement listDirectory() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("listDirectory", "FileSystem", "OSFileSystem", "OP_OSLS_CALL:155/6", "osls_list_directory", "osls_list_directory", "CommonBackend", "ReadOnlyEnumeration", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } << Read-only inspection functions registered in revision 1.1 (operation IDs 12..24). All are read-only or pure computation, so they bind under the same host-read capability as the original twelve. State-changing families (file mutation, sockets, timers, process control) are intentionally NOT registered here; see SLOsSupportCatalog.getStateChangingPlannedFunctions. >> SLOsSupportElement getMemoryInfo() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getMemoryInfo", "MemoryManagement", "OSMemory", "OP_OSLS_CALL:155/12", "osls_get_memory_info", "osls_get_memory_info", "CommonBackend", "ReadOnlyQuery", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getAvailableMemory() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getAvailableMemory", "MemoryManagement", "OSMemory", "OP_OSLS_CALL:155/13", "osls_get_available_memory", "osls_get_available_memory", "CommonBackend", "ReadOnlyQuery", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getDiskSpace() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getDiskSpace", "VolumeStorage", "OSVolume", "OP_OSLS_CALL:155/14", "osls_get_disk_space", "osls_get_disk_space", "CommonBackend", "ReadOnlyQuery", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getVolumeInfo() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getVolumeInfo", "VolumeStorage", "OSVolume", "OP_OSLS_CALL:155/15", "osls_get_volume_info", "osls_get_volume_info", "CommonBackend", "ReadOnlyQuery", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getSystemLoad() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getSystemLoad", "CPUArchitecture", "OSCPU", "OP_OSLS_CALL:155/16", "osls_get_system_load", "osls_get_system_load", "CommonBackend", "ReadOnlyQuery", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getCapabilities() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getCapabilities", "CapabilityDiscovery", "OSCapabilities", "OP_OSLS_CALL:155/17", "osls_get_capabilities", "osls_get_capabilities", "CommonBackend", "ReadOnlyQuery", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getRuntimeInfo() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getRuntimeInfo", "VMInterop", "OSRuntime", "OP_OSLS_CALL:155/18", "osls_get_runtime_info", "osls_get_runtime_info", "CommonBackend", "ReadOnlyQuery", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getNativeError() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getNativeError", "ErrorDiagnostics", "OSError", "OP_OSLS_CALL:155/19", "osls_get_native_error", "osls_get_native_error", "CommonBackend", "ReadOnlyQuery", "Implemented", 0, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement pathNormalize() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("pathNormalize", "PathManagement", "OSPath", "OP_OSLS_CALL:155/20", "osls_path_normalize", "osls_path_normalize", "CommonBackend", "ReadOnlyQuery", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement pathJoin() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("pathJoin", "PathManagement", "OSPath", "OP_OSLS_CALL:155/21", "osls_path_join", "osls_path_join", "CommonBackend", "ReadOnlyQuery", "Implemented", 2, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement pathResolve() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("pathResolve", "PathManagement", "OSPath", "OP_OSLS_CALL:155/22", "osls_path_resolve", "osls_path_resolve", "CommonBackend", "ReadOnlyQuery", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement getPathInfo() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("getPathInfo", "PathManagement", "OSPath", "OP_OSLS_CALL:155/23", "osls_get_path_info", "osls_get_path_info", "CommonBackend", "ReadOnlyQuery", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } SLOsSupportElement networkResolve() { SLOsSupportElement e = new SLOsSupportElement(); e.configure("networkResolve", "NetworkConfiguration", "OSNetwork", "OP_OSLS_CALL:155/24", "osls_network_resolve", "osls_network_resolve", "CommonBackend", "ReadOnlyQuery", "Implemented", 1, 0); e.setResultTerm("JsonStringWithStatus"); return e; } }