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