public class DefaultNBootModel extends Object implements NBootModel
| Modifier and Type | Field and Description |
|---|---|
protected NSession |
bootSession |
protected NBootOptions |
bOptions |
protected NBootOptions |
effOptions |
protected boolean |
firstBoot |
protected boolean |
initializing |
NPrintStream |
nullOut |
OutputStream |
nullOutputStream |
protected NWorkspace |
workspace |
| Constructor and Description |
|---|
DefaultNBootModel(NWorkspace workspace,
NWorkspaceModel workspaceModel,
NBootOptions bOption0,
NLog LOG) |
| Modifier and Type | Method and Description |
|---|---|
protected NLog |
_LOG() |
NSession |
bootSession() |
NSystemTerminal |
createSystemTerminal(NTerminalSpec spec) |
static NWorkspaceTerminalOptions |
detectAnsiTerminalSupport(NBootOptions bOption,
boolean boot,
NLog log) |
void |
enableRichTerm() |
NBootOptions |
getBootEffectiveOptions() |
NSession |
getBootSession() |
NWorkspaceTerminalOptions |
getBootTerminal() |
NBootOptions |
getBootUserOptions() |
NOptional<NLiteral> |
getCustomBootOption(String... names) |
NOptional<NLiteral> |
getCustomBootOption(String name) |
Map<String,NLiteral> |
getCustomBootOptions() |
NSystemTerminal |
getSystemTerminal() |
NWorkspace |
getWorkspace() |
void |
init() |
boolean |
isFirstBoot() |
boolean |
isInitializing() |
OutputStream |
nullOutputStream() |
NPrintStream |
nullPrintStream() |
void |
onInitializeWorkspace() |
DefaultNBootModel |
setFirstBoot(boolean firstBoot) |
DefaultNBootModel |
setInitializing(boolean initializing) |
void |
setSystemTerminal(NSystemTerminalBase terminal) |
public NPrintStream nullOut
public OutputStream nullOutputStream
protected NWorkspace workspace
protected boolean firstBoot
protected boolean initializing
protected NBootOptions bOptions
protected NBootOptions effOptions
protected NSession bootSession
public DefaultNBootModel(NWorkspace workspace, NWorkspaceModel workspaceModel, NBootOptions bOption0, NLog LOG)
public void init()
public static NWorkspaceTerminalOptions detectAnsiTerminalSupport(NBootOptions bOption, boolean boot, NLog log)
public void onInitializeWorkspace()
public void setSystemTerminal(NSystemTerminalBase terminal)
public NSystemTerminal createSystemTerminal(NTerminalSpec spec)
protected NLog _LOG()
public void enableRichTerm()
public NBootOptions getBootEffectiveOptions()
public NBootOptions getBootUserOptions()
public NWorkspaceTerminalOptions getBootTerminal()
public boolean isInitializing()
isInitializing in interface NBootModelpublic DefaultNBootModel setInitializing(boolean initializing)
public boolean isFirstBoot()
isFirstBoot in interface NBootModelpublic DefaultNBootModel setFirstBoot(boolean firstBoot)
public NPrintStream nullPrintStream()
nullPrintStream in interface NBootModelpublic OutputStream nullOutputStream()
public NSystemTerminal getSystemTerminal()
getSystemTerminal in interface NBootModelpublic NSession bootSession()
public NWorkspace getWorkspace()
public NSession getBootSession()
Copyright © 2026 vpc open source initiative. All rights reserved.