public class DefaultNutsVersionParser extends Object implements net.thevpc.nuts.NutsVersionParser
| Constructor and Description |
|---|
DefaultNutsVersionParser(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
net.thevpc.nuts.NutsWorkspace |
getWs() |
boolean |
isAcceptBlank() |
boolean |
isAcceptIntervals() |
boolean |
isLenient() |
net.thevpc.nuts.NutsVersion |
parse(String version) |
net.thevpc.nuts.NutsVersionParser |
setAcceptBlank(boolean acceptBlank) |
net.thevpc.nuts.NutsVersionParser |
setAcceptIntervals(boolean acceptIntervals) |
DefaultNutsVersionParser |
setLenient(boolean lenient) |
public DefaultNutsVersionParser(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsWorkspace getWs()
public boolean isLenient()
isLenient in interface net.thevpc.nuts.NutsVersionParserpublic DefaultNutsVersionParser setLenient(boolean lenient)
setLenient in interface net.thevpc.nuts.NutsVersionParserpublic boolean isAcceptBlank()
isAcceptBlank in interface net.thevpc.nuts.NutsVersionParserpublic net.thevpc.nuts.NutsVersionParser setAcceptBlank(boolean acceptBlank)
setAcceptBlank in interface net.thevpc.nuts.NutsVersionParserpublic boolean isAcceptIntervals()
isAcceptIntervals in interface net.thevpc.nuts.NutsVersionParserpublic net.thevpc.nuts.NutsVersionParser setAcceptIntervals(boolean acceptIntervals)
setAcceptIntervals in interface net.thevpc.nuts.NutsVersionParserpublic net.thevpc.nuts.NutsVersion parse(String version)
parse in interface net.thevpc.nuts.NutsVersionParserpublic int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentCopyright © 2022 vpc open source initiative. All rights reserved.