public class DefaultNVersionFormat extends DefaultFormatBase<net.thevpc.nuts.format.NVersionFormat> implements net.thevpc.nuts.format.NVersionFormat
| Constructor and Description |
|---|
DefaultNVersionFormat(net.thevpc.nuts.NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.format.NVersionFormat |
addProperties(Map<String,String> p) |
net.thevpc.nuts.format.NVersionFormat |
addProperty(String key,
String value) |
Map<String,String> |
buildProps() |
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
net.thevpc.nuts.NVersion |
getVersion() |
boolean |
isWorkspaceVersion() |
void |
print(net.thevpc.nuts.io.NPrintStream out) |
net.thevpc.nuts.format.NVersionFormat |
setVersion(net.thevpc.nuts.NVersion version) |
format, formatPlain, getValidPrintStream, getValidPrintStream, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, toStringconfigure, getName, isNtf, setNtfclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic DefaultNVersionFormat(net.thevpc.nuts.NWorkspace workspace)
public boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurablepublic net.thevpc.nuts.format.NVersionFormat addProperty(String key, String value)
addProperty in interface net.thevpc.nuts.format.NVersionFormatpublic net.thevpc.nuts.format.NVersionFormat addProperties(Map<String,String> p)
addProperties in interface net.thevpc.nuts.format.NVersionFormatpublic net.thevpc.nuts.NVersion getVersion()
getVersion in interface net.thevpc.nuts.format.NVersionFormatpublic net.thevpc.nuts.format.NVersionFormat setVersion(net.thevpc.nuts.NVersion version)
setVersion in interface net.thevpc.nuts.format.NVersionFormatpublic boolean isWorkspaceVersion()
isWorkspaceVersion in interface net.thevpc.nuts.format.NVersionFormatpublic void print(net.thevpc.nuts.io.NPrintStream out)
print in interface net.thevpc.nuts.format.NFormatprint in class DefaultFormatBase<net.thevpc.nuts.format.NVersionFormat>public int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentCopyright © 2025 vpc open source initiative. All rights reserved.