public class DefaultNutsBootModel extends Object implements NutsBootModel
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.nuts.NutsSession |
bootSession |
protected CoreNutsBootOptions |
bOptions |
protected boolean |
firstBoot |
protected boolean |
initializing |
net.thevpc.nuts.NutsPrintStream |
nullOut |
protected net.thevpc.nuts.NutsWorkspace |
workspace |
| Constructor and Description |
|---|
DefaultNutsBootModel(net.thevpc.nuts.NutsWorkspace workspace,
net.thevpc.nuts.NutsBootOptions bOption0) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.NutsLogger |
_LOG(net.thevpc.nuts.NutsSession session) |
protected net.thevpc.nuts.NutsLoggerOp |
_LOGOP(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsSession |
bootSession() |
net.thevpc.nuts.NutsSystemTerminal |
createSystemTerminal(net.thevpc.nuts.spi.NutsTerminalSpec spec,
net.thevpc.nuts.NutsSession session) |
static net.thevpc.nuts.NutsBootTerminal |
detectAnsiTerminalSupport(net.thevpc.nuts.NutsOsFamily os,
net.thevpc.nuts.NutsWorkspaceOptions bOption,
boolean boot,
net.thevpc.nuts.NutsSession session) |
void |
enableRichTerm(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsWorkspaceOptions |
getBootOptions() |
net.thevpc.nuts.NutsSession |
getBootSession() |
net.thevpc.nuts.NutsBootTerminal |
getBootTerminal() |
CoreNutsBootOptions |
getCoreBootOptions() |
Map<String,net.thevpc.nuts.NutsArgument> |
getCustomBootOptions() |
net.thevpc.nuts.NutsSystemTerminal |
getSystemTerminal() |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
boolean |
isFirstBoot() |
boolean |
isInitializing() |
net.thevpc.nuts.NutsPrintStream |
nullPrintStream() |
void |
onInitializeWorkspace() |
DefaultNutsBootModel |
setFirstBoot(boolean firstBoot) |
DefaultNutsBootModel |
setInitializing(boolean initializing) |
void |
setSystemTerminal(net.thevpc.nuts.spi.NutsSystemTerminalBase terminal,
net.thevpc.nuts.NutsSession session) |
public final net.thevpc.nuts.NutsPrintStream nullOut
protected net.thevpc.nuts.NutsWorkspace workspace
protected boolean firstBoot
protected boolean initializing
protected CoreNutsBootOptions bOptions
protected net.thevpc.nuts.NutsSession bootSession
public DefaultNutsBootModel(net.thevpc.nuts.NutsWorkspace workspace,
net.thevpc.nuts.NutsBootOptions bOption0)
public static net.thevpc.nuts.NutsBootTerminal detectAnsiTerminalSupport(net.thevpc.nuts.NutsOsFamily os,
net.thevpc.nuts.NutsWorkspaceOptions bOption,
boolean boot,
net.thevpc.nuts.NutsSession session)
public void onInitializeWorkspace()
public void setSystemTerminal(net.thevpc.nuts.spi.NutsSystemTerminalBase terminal,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsSystemTerminal createSystemTerminal(net.thevpc.nuts.spi.NutsTerminalSpec spec,
net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsLoggerOp _LOGOP(net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsLogger _LOG(net.thevpc.nuts.NutsSession session)
public void enableRichTerm(net.thevpc.nuts.NutsSession session)
public CoreNutsBootOptions getCoreBootOptions()
public net.thevpc.nuts.NutsWorkspaceOptions getBootOptions()
public net.thevpc.nuts.NutsBootTerminal getBootTerminal()
public boolean isInitializing()
isInitializing in interface NutsBootModelpublic DefaultNutsBootModel setInitializing(boolean initializing)
public boolean isFirstBoot()
isFirstBoot in interface NutsBootModelpublic DefaultNutsBootModel setFirstBoot(boolean firstBoot)
public net.thevpc.nuts.NutsPrintStream nullPrintStream()
nullPrintStream in interface NutsBootModelpublic net.thevpc.nuts.NutsSystemTerminal getSystemTerminal()
getSystemTerminal in interface NutsBootModelpublic net.thevpc.nuts.NutsSession bootSession()
public net.thevpc.nuts.NutsWorkspace getWorkspace()
public net.thevpc.nuts.NutsSession getBootSession()
Copyright © 2022 vpc open source initiative. All rights reserved.