public abstract class DefaultFormatBase0<T> extends Object implements NutsCommandLineConfigurable
| Constructor and Description |
|---|
DefaultFormatBase0(NutsWorkspace workspace,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSession() |
boolean |
configure(boolean skipUnsupported,
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() |
NutsSession |
getSession() |
NutsPrintStream |
getValidPrintStream() |
NutsPrintStream |
getValidPrintStream(NutsPrintStream out) |
NutsWorkspace |
getWorkspace() |
boolean |
isNtf() |
T |
setNtf(boolean ntf) |
T |
setSession(NutsSession session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigureFirst, configureLastpublic DefaultFormatBase0(NutsWorkspace workspace, String name)
protected void checkSession()
public NutsWorkspace getWorkspace()
public NutsPrintStream getValidPrintStream(NutsPrintStream out)
public NutsPrintStream getValidPrintStream()
public NutsSession getSession()
public T setSession(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 NutsCommandLineConfigurableargs - argument to configure withthis instancepublic final boolean configure(boolean skipUnsupported,
NutsCommandLine commandLine)
configure in interface NutsCommandLineConfigurableskipUnsupported - when true, all unsupported options are skipped
silentlycommandLine - arguments to configure withthis instancepublic boolean isNtf()
public T setNtf(boolean ntf)
Copyright © 2021 vpc open source initiative. All rights reserved.