public class DefaultNutsVersionFilter extends AbstractVersionFilter implements net.thevpc.nuts.NutsVersionFilter, Simplifiable<net.thevpc.nuts.NutsVersionFilter>, NutsExprIdFilter, Serializable
| Constructor and Description |
|---|
DefaultNutsVersionFilter(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptVersion(net.thevpc.nuts.NutsVersion version,
net.thevpc.nuts.NutsSession session) |
void |
add(net.thevpc.nuts.NutsVersionInterval interval) |
boolean |
equals(Object obj) |
net.thevpc.nuts.NutsVersionInterval[] |
getIntervals() |
int |
hashCode() |
static net.thevpc.nuts.NutsVersionFilter |
parse(String version,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsVersionFilter |
simplify() |
String |
toExpr()
if convertible to javascript boolean expression return valid non null
code.
|
String |
toString() |
and, neg, orand, describe, getFilterOp, getFilterType, getSession, getSubFilters, getWorkspace, or, simplify, toclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic DefaultNutsVersionFilter(net.thevpc.nuts.NutsSession session)
public static net.thevpc.nuts.NutsVersionFilter parse(String version, net.thevpc.nuts.NutsSession session)
public boolean acceptVersion(net.thevpc.nuts.NutsVersion version,
net.thevpc.nuts.NutsSession session)
acceptVersion in interface net.thevpc.nuts.NutsVersionFilterpublic net.thevpc.nuts.NutsVersionInterval[] getIntervals()
public void add(net.thevpc.nuts.NutsVersionInterval interval)
public String toExpr()
NutsExprIdFiltertoExpr in interface NutsExprIdFilterpublic net.thevpc.nuts.NutsVersionFilter simplify()
simplify in interface net.thevpc.nuts.NutsFiltersimplify in interface Simplifiable<net.thevpc.nuts.NutsVersionFilter>Copyright © 2022 vpc open source initiative. All rights reserved.