public class NEnvLocal extends NEnvBase
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
gui |
protected boolean |
initialized |
protected boolean |
nativeImage |
arch, archFamily, desktopEnvironments, hostName, java, machineName, os, osDesktopEnvironmentFamilies, osDesktopEnvironmentFamily, osDist, osFamily, parallelProcessorRuntimes, rootUserName, shell, shellFamily, userHome, userName| Constructor and Description |
|---|
NEnvLocal() |
arch, archFamily, desktopEnvironment, desktopEnvironmentFamilies, desktopEnvironmentFamily, desktopEnvironments, desktopPath, getDesktopEnvironmentFamily0, getDesktopIntegrationSupport, getShellFamilies, hostName, isGraphicalDesktopEnvironment, java, machineName, os, osDist, osFamily, parallelProcessorFamily, parallelProcessorRuntimes, rootUserName, shell, shellFamilies, shellFamily, userHome, userNameprotected boolean initialized
protected boolean nativeImage
protected boolean gui
public NEnv refresh()
public String pid()
public NRam ram()
public List<NGpuDevice> gpus()
protected List<NParallelProcessorRuntime> getParallelProcessorRuntimes0()
NEnvBasegetParallelProcessorRuntimes0 in class NEnvBaseprotected boolean isParallelProcessorDetectionSupported()
NEnvBase
An empty NEnvBase.parallelProcessorRuntimes() is ambiguous on its own : it
is reported both by a machine that has no runtime installed and by an
environment that could not be inspected. This hook separates the two, so
that the former answers NParallelProcessorFamily.NONE and the
latter NParallelProcessorFamily.UNKNOWN. Implementations unable to
inspect their target leave it false.
isParallelProcessorDetectionSupported in class NEnvBasepublic boolean isNativeImage()
public String getUserName0()
getUserName0 in class NEnvBasepublic String getUserHome0()
getUserHome0 in class NEnvBaseprotected String getRootUserName0()
getRootUserName0 in class NEnvBasepublic static String getWindowsAdminName(NShellFamily sf)
public NConnectionString connectionString()
protected NOsFamily getOsFamily0()
getOsFamily0 in class NEnvBasepublic NShellFamily getShellFamily0()
getShellFamily0 in class NEnvBasepublic NId getOsDist0()
getOsDist0 in class NEnvBasepublic NArchFamily getArchFamily0()
getArchFamily0 in class NEnvBasepublic boolean isGraphicalDesktopEnvironment0()
isGraphicalDesktopEnvironment0 in class NEnvBasepublic static int getScore(NScorableContext context)
public String getMachineName0()
getMachineName0 in class NEnvBasepublic String getHostName0()
getHostName0 in class NEnvBaseCopyright © 2026 vpc open source initiative. All rights reserved.