public class NRepositoryUtils extends Object
| Constructor and Description |
|---|
NRepositoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.spi.NRepositoryLocation> |
createRepositoryLocation(String locationString)
Create a new NutsRepositoryLocation.
|
static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.spi.NRepositorySelector> |
createRepositorySelector(net.thevpc.nuts.spi.NSelectorOp op,
String location) |
static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.spi.NRepositorySelector> |
createRepositorySelector(String location) |
static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.spi.NRepositorySelectorList> |
createRepositorySelectorList(List<String> expressions) |
static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.spi.NRepositorySelectorList> |
createRepositorySelectorList(String expression) |
static String |
getRepoType(net.thevpc.nuts.core.NRepositoryConfig conf) |
static String |
getRepoType(net.thevpc.nuts.core.NRepositorySpec conf) |
static net.thevpc.nuts.core.NRepositoryRef |
optionsToRef(net.thevpc.nuts.core.NRepositorySpec options) |
static net.thevpc.nuts.core.NRepositorySpec |
refToOptions(net.thevpc.nuts.core.NRepositoryRef ref) |
static net.thevpc.nuts.core.NRepositorySpec[] |
resolve(net.thevpc.nuts.spi.NRepositorySelectorList list,
net.thevpc.nuts.core.NRepositorySpec[] available) |
static net.thevpc.nuts.spi.NRepositoryLocation |
validateLocation(net.thevpc.nuts.spi.NRepositoryLocation r,
net.thevpc.nuts.log.NLog nLog) |
public static net.thevpc.nuts.core.NRepositoryRef optionsToRef(net.thevpc.nuts.core.NRepositorySpec options)
public static net.thevpc.nuts.core.NRepositorySpec refToOptions(net.thevpc.nuts.core.NRepositoryRef ref)
public static net.thevpc.nuts.spi.NRepositoryLocation validateLocation(net.thevpc.nuts.spi.NRepositoryLocation r,
net.thevpc.nuts.log.NLog nLog)
public static String getRepoType(net.thevpc.nuts.core.NRepositoryConfig conf)
public static String getRepoType(net.thevpc.nuts.core.NRepositorySpec conf)
public static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.spi.NRepositorySelectorList> createRepositorySelectorList(List<String> expressions)
public static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.spi.NRepositorySelectorList> createRepositorySelectorList(String expression)
public static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.spi.NRepositorySelector> createRepositorySelector(String location)
public static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.spi.NRepositorySelector> createRepositorySelector(net.thevpc.nuts.spi.NSelectorOp op,
String location)
public static net.thevpc.nuts.util.NOptional<net.thevpc.nuts.spi.NRepositoryLocation> createRepositoryLocation(String locationString)
fullLocation will preserve any existing name (where
fullLocation is entered as a locationString)locationString - location string in the format
name=locationType:pathpublic static net.thevpc.nuts.core.NRepositorySpec[] resolve(net.thevpc.nuts.spi.NRepositorySelectorList list,
net.thevpc.nuts.core.NRepositorySpec[] available)
Copyright © 2026 vpc open source initiative. All rights reserved.