public class DefaultNRepositoryConfigModel extends AbstractNRepositoryConfigModel
tags| Constructor and Description |
|---|
DefaultNRepositoryConfigModel(net.thevpc.nuts.core.NRepository repository,
net.thevpc.nuts.core.NRepositorySpec options,
net.thevpc.nuts.core.NWorkspace workspace,
net.thevpc.nuts.core.NSpeedQualifier speed,
boolean supportedMirroring,
String repositoryType) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
void |
addMirror(net.thevpc.nuts.core.NRepository repo) |
net.thevpc.nuts.core.NRepository |
addMirror(net.thevpc.nuts.core.NRepositorySpec options) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NLiteral> |
config_getEnv(String key,
boolean inherit) |
net.thevpc.nuts.core.NRepository |
findMirrorById(String repositoryNameOrId) |
net.thevpc.nuts.core.NRepository |
findMirrorByName(String repositoryNameOrId) |
void |
fireConfigurationChanged(String configName) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NLiteral> |
get(String key,
boolean inherit) |
net.thevpc.nuts.core.NRepositoryConfig |
getConfig() |
int |
getDeployWeight() |
String |
getGlobalName() |
String |
getGroups() |
net.thevpc.nuts.spi.NRepositoryLocation |
getLocation() |
net.thevpc.nuts.io.NPath |
getLocationPath() |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.core.NRepository> |
getMirror(String repositoryNameOrId) |
List<net.thevpc.nuts.core.NRepository> |
getMirrors() |
net.thevpc.nuts.io.NPath |
getMirrorsRoot() |
String |
getName() |
net.thevpc.nuts.core.NRepository |
getRepository() |
net.thevpc.nuts.core.NRepositoryRef |
getRepositoryRef() |
net.thevpc.nuts.core.NSpeedQualifier |
getSpeed() |
net.thevpc.nuts.core.NRepositoryConfig |
getStoredConfig() |
net.thevpc.nuts.io.NPath |
getStoreLocation() |
net.thevpc.nuts.io.NPath |
getStoreLocation(net.thevpc.nuts.platform.NStoreType storeType) |
net.thevpc.nuts.core.NStoreStrategy |
getStoreStrategy() |
net.thevpc.nuts.io.NPath |
getTempMirrorsRoot() |
String |
getType() |
String |
getUuid() |
net.thevpc.nuts.core.NWorkspace |
getWorkspace() |
boolean |
isConfigurationChanged() |
boolean |
isEnabled() |
boolean |
isIndexEnabled() |
boolean |
isIndexSubscribed() |
boolean |
isSupportedMirroring() |
boolean |
isTemporary() |
void |
removeAllMirrors() |
void |
removeMirror(String repositoryId) |
void |
save() |
boolean |
save(boolean force) |
void |
set(String property,
String value) |
void |
setConfig(net.thevpc.nuts.core.NRepositoryConfig newConfig,
boolean fireChange) |
void |
setEnabled(boolean enabled) |
void |
setEnv(String property,
String value) |
void |
setIndexEnabled(boolean enabled) |
void |
setMirrorEnabled(String repoName,
boolean enabled) |
void |
setTemporary(boolean transientRepository) |
void |
subscribeIndex() |
Map<String,String> |
toMap() |
Map<String,String> |
toMap(boolean inherit) |
void |
unsubscribeIndex() |
addTag, containsTag, getTags, isPreview, removeTagpublic DefaultNRepositoryConfigModel(net.thevpc.nuts.core.NRepository repository,
net.thevpc.nuts.core.NRepositorySpec options,
net.thevpc.nuts.core.NWorkspace workspace,
net.thevpc.nuts.core.NSpeedQualifier speed,
boolean supportedMirroring,
String repositoryType)
protected net.thevpc.nuts.log.NLog _LOG()
public net.thevpc.nuts.core.NRepository getRepository()
public net.thevpc.nuts.core.NWorkspace getWorkspace()
public net.thevpc.nuts.core.NRepositoryRef getRepositoryRef()
public String getName()
public int getDeployWeight()
public net.thevpc.nuts.core.NSpeedQualifier getSpeed()
public String getType()
public String getGroups()
public net.thevpc.nuts.spi.NRepositoryLocation getLocation()
public net.thevpc.nuts.io.NPath getLocationPath()
public net.thevpc.nuts.io.NPath getStoreLocation()
public net.thevpc.nuts.core.NStoreStrategy getStoreStrategy()
public net.thevpc.nuts.io.NPath getStoreLocation(net.thevpc.nuts.platform.NStoreType storeType)
public String getUuid()
public void setConfig(net.thevpc.nuts.core.NRepositoryConfig newConfig,
boolean fireChange)
public void addMirror(net.thevpc.nuts.core.NRepository repo)
public void setIndexEnabled(boolean enabled)
public boolean isIndexEnabled()
public void setMirrorEnabled(String repoName, boolean enabled)
public boolean save(boolean force)
public void save()
public void fireConfigurationChanged(String configName)
public boolean isConfigurationChanged()
public void setEnabled(boolean enabled)
public boolean isEnabled()
public boolean isTemporary()
public void setTemporary(boolean transientRepository)
public boolean isIndexSubscribed()
public void subscribeIndex()
public void unsubscribeIndex()
public String getGlobalName()
public boolean isSupportedMirroring()
public void removeMirror(String repositoryId)
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.core.NRepository> getMirror(String repositoryNameOrId)
public net.thevpc.nuts.core.NRepository findMirrorById(String repositoryNameOrId)
public net.thevpc.nuts.core.NRepository findMirrorByName(String repositoryNameOrId)
public List<net.thevpc.nuts.core.NRepository> getMirrors()
public net.thevpc.nuts.core.NRepository addMirror(net.thevpc.nuts.core.NRepositorySpec options)
public net.thevpc.nuts.io.NPath getTempMirrorsRoot()
public net.thevpc.nuts.io.NPath getMirrorsRoot()
public net.thevpc.nuts.core.NRepositoryConfig getStoredConfig()
public void removeAllMirrors()
public net.thevpc.nuts.core.NRepositoryConfig getConfig()
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NLiteral> get(String key, boolean inherit)
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NLiteral> config_getEnv(String key, boolean inherit)
Copyright © 2026 vpc open source initiative. All rights reserved.