public class ArtifactsIndexDB extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ARTIFACT_TABLE_NAME |
| Constructor and Description |
|---|
ArtifactsIndexDB(String tableName,
NanoDB db) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(net.thevpc.nuts.NutsId id) |
boolean |
contains(net.thevpc.nuts.NutsId id) |
Stream<net.thevpc.nuts.NutsId> |
findAll() |
Stream<net.thevpc.nuts.NutsId> |
findByArtifactId(String artifactId) |
Stream<net.thevpc.nuts.NutsId> |
findByGroupId(String groupId) |
void |
flush() |
static ArtifactsIndexDB |
of(net.thevpc.nuts.NutsWorkspace ws) |
public static final String DEFAULT_ARTIFACT_TABLE_NAME
public static ArtifactsIndexDB of(net.thevpc.nuts.NutsWorkspace ws)
public Stream<net.thevpc.nuts.NutsId> findAll()
public void add(net.thevpc.nuts.NutsId id)
public void flush()
public boolean contains(net.thevpc.nuts.NutsId id)
Copyright © 2021 vpc open source initiative. All rights reserved.