public class NEnvAsCmd extends NEnvBase
arch, archFamily, desktopEnvironments, gui, hostName, java, machineName, os, osDesktopEnvironmentFamilies, osDesktopEnvironmentFamily, osDist, osFamily, rootUserName, shell, shellFamily, userHome, userName| Constructor and Description |
|---|
NEnvAsCmd(NScorableContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected NId |
getArch0() |
protected NArchFamily |
getArchFamily0() |
NConnectionString |
getConnectionString() |
Map<String,String> |
getEnv() |
NOptional<String> |
getEnv(String name) |
String |
getHostName0() |
protected NId |
getJava0() |
String |
getMachineName0() |
NId |
getOs0() |
protected NId |
getOsDist0() |
NOsFamily |
getOsFamily0() |
String |
getRootUserName0() |
static int |
getScore(NScorableContext context) |
NId |
getShell0() |
NShellFamily |
getShellFamily0() |
String |
getUserHome0() |
String |
getUserName0() |
protected boolean |
isGraphicalDesktopEnvironment0() |
boolean |
isNativeImage() |
NEnv |
refresh() |
String |
runOnceSystemGrab(String cmd) |
boolean |
tryUpdate() |
getArch, getArchFamily, getDesktopEnvironment, getDesktopEnvironmentFamilies, getDesktopEnvironmentFamily, getDesktopEnvironmentFamily0, getDesktopEnvironments, getDesktopIntegrationSupport, getDesktopPath, getHostName, getJava, getMachineName, getOs, getOsDist, getOsFamily, getRootUserName, getShell, getShellFamilies, getShellFamilies, getShellFamily, getUserHome, getUserName, isGraphicalDesktopEnvironment, resolveWindowAdminNamepublic NEnvAsCmd(NScorableContext context)
public NEnv refresh()
public NConnectionString getConnectionString()
public boolean tryUpdate()
public boolean isNativeImage()
public static int getScore(NScorableContext context)
public String getRootUserName0()
getRootUserName0 in class NEnvBasepublic NOsFamily getOsFamily0()
getOsFamily0 in class NEnvBasepublic NShellFamily getShellFamily0()
getShellFamily0 in class NEnvBasepublic String getUserName0()
getUserName0 in class NEnvBasepublic String getUserHome0()
getUserHome0 in class NEnvBaseprotected NArchFamily getArchFamily0()
getArchFamily0 in class NEnvBaseprotected NId getOsDist0()
getOsDist0 in class NEnvBaseprotected boolean isGraphicalDesktopEnvironment0()
isGraphicalDesktopEnvironment0 in class NEnvBasepublic String getMachineName0()
getMachineName0 in class NEnvBasepublic String getHostName0()
getHostName0 in class NEnvBaseCopyright © 2026 vpc open source initiative. All rights reserved.