public abstract class DefaultFormatBase0<T> extends Object implements net.thevpc.nuts.NutsCommandLineConfigurable
| Constructor and Description |
|---|
DefaultFormatBase0(net.thevpc.nuts.NutsSession session,
String name) |
DefaultFormatBase0(net.thevpc.nuts.NutsWorkspace workspace,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSession() |
boolean |
configure(boolean skipUnsupported,
net.thevpc.nuts.NutsCommandLine commandLine)
configure the current command with the given arguments.
|
T |
configure(boolean skipUnsupported,
String... args)
configure the current command with the given arguments.
|
String |
getName() |
net.thevpc.nuts.NutsSession |
getSession() |
net.thevpc.nuts.NutsPrintStream |
getValidPrintStream() |
net.thevpc.nuts.NutsPrintStream |
getValidPrintStream(net.thevpc.nuts.NutsPrintStream out) |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
boolean |
isNtf() |
T |
setNtf(boolean ntf) |
T |
setSession(net.thevpc.nuts.NutsSession session) |
public DefaultFormatBase0(net.thevpc.nuts.NutsWorkspace workspace,
String name)
public DefaultFormatBase0(net.thevpc.nuts.NutsSession session,
String name)
protected void checkSession()
public net.thevpc.nuts.NutsWorkspace getWorkspace()
public net.thevpc.nuts.NutsPrintStream getValidPrintStream(net.thevpc.nuts.NutsPrintStream out)
public net.thevpc.nuts.NutsPrintStream getValidPrintStream()
public net.thevpc.nuts.NutsSession getSession()
public T setSession(net.thevpc.nuts.NutsSession session)
public String getName()
public T configure(boolean skipUnsupported, String... args)
NutsCommandLineConfigurable.configure(boolean, java.lang.String...)
to help return a more specific return type;configure in interface net.thevpc.nuts.NutsCommandLineConfigurableargs - argument to configure withthis instancepublic final boolean configure(boolean skipUnsupported,
net.thevpc.nuts.NutsCommandLine commandLine)
configure in interface net.thevpc.nuts.NutsCommandLineConfigurableskipUnsupported - when true, all unsupported options are skipped
silentlycommandLine - arguments to configure withthis instancepublic boolean isNtf()
public T setNtf(boolean ntf)
Copyright © 2022 vpc open source initiative. All rights reserved.