public class DefaultNRepositoryConfigModel extends AbstractNRepositoryConfigModel
tags| Constructor and Description |
|---|
DefaultNRepositoryConfigModel(net.thevpc.nuts.NRepository repository,
net.thevpc.nuts.NAddRepositoryOptions options,
net.thevpc.nuts.NWorkspace workspace,
net.thevpc.nuts.NSpeedQualifier speed,
boolean supportedMirroring,
String repositoryType) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
protected net.thevpc.nuts.log.NLogOp |
_LOGOP() |
net.thevpc.nuts.NRepository |
addMirror(net.thevpc.nuts.NAddRepositoryOptions options) |
void |
addMirror(net.thevpc.nuts.NRepository repo) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NLiteral> |
config_getEnv(String key,
boolean inherit) |
net.thevpc.nuts.NRepository |
findMirror(String repositoryNameOrId) |
net.thevpc.nuts.NRepository |
findMirrorById(String repositoryNameOrId) |
net.thevpc.nuts.NRepository |
findMirrorByName(String repositoryNameOrId) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NUserConfig> |
findUser(String userId) |
net.thevpc.nuts.NUserConfig[] |
findUsers() |
void |
fireConfigurationChanged(String configName) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.util.NLiteral> |
get(String key,
boolean inherit) |
net.thevpc.nuts.NRepositoryConfig |
getConfig() |
int |
getDeployWeight() |
String |
getGlobalName() |
String |
getGroups() |
net.thevpc.nuts.spi.NRepositoryLocation |
getLocation() |
net.thevpc.nuts.io.NPath |
getLocationPath() |
net.thevpc.nuts.NRepository |
getMirror(String repositoryIdPath) |
List<net.thevpc.nuts.NRepository> |
getMirrors() |
net.thevpc.nuts.io.NPath |
getMirrorsRoot() |
String |
getName() |
net.thevpc.nuts.NRepository |
getRepository() |
net.thevpc.nuts.NRepositoryRef |
getRepositoryRef() |
net.thevpc.nuts.NSpeedQualifier |
getSpeed() |
net.thevpc.nuts.NRepositoryConfig |
getStoredConfig() |
net.thevpc.nuts.io.NPath |
getStoreLocation() |
net.thevpc.nuts.io.NPath |
getStoreLocation(net.thevpc.nuts.NStoreType folderType) |
net.thevpc.nuts.NStoreStrategy |
getStoreStrategy() |
net.thevpc.nuts.io.NPath |
getTempMirrorsRoot() |
String |
getType() |
String |
getUuid() |
net.thevpc.nuts.NWorkspace |
getWorkspace() |
boolean |
isConfigurationChanged() |
boolean |
isEnabled() |
boolean |
isIndexEnabled() |
boolean |
isIndexSubscribed() |
boolean |
isSupportedMirroring() |
boolean |
isTemporary() |
void |
removeAllMirrors() |
void |
removeMirror(String repositoryId) |
void |
removeUser(String userId) |
void |
save() |
boolean |
save(boolean force) |
void |
set(String property,
String value) |
void |
setConfig(net.thevpc.nuts.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 |
setUser(net.thevpc.nuts.NUserConfig user) |
void |
subscribeIndex() |
Map<String,String> |
toMap() |
Map<String,String> |
toMap(boolean inherit) |
void |
unsubscribeIndex() |
addTag, containsTag, getTags, isPreview, removeTagpublic DefaultNRepositoryConfigModel(net.thevpc.nuts.NRepository repository,
net.thevpc.nuts.NAddRepositoryOptions options,
net.thevpc.nuts.NWorkspace workspace,
net.thevpc.nuts.NSpeedQualifier speed,
boolean supportedMirroring,
String repositoryType)
protected net.thevpc.nuts.log.NLogOp _LOGOP()
protected net.thevpc.nuts.log.NLog _LOG()
public net.thevpc.nuts.NRepository getRepository()
public net.thevpc.nuts.NWorkspace getWorkspace()
public net.thevpc.nuts.NRepositoryRef getRepositoryRef()
public String getName()
public int getDeployWeight()
public net.thevpc.nuts.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.NStoreStrategy getStoreStrategy()
public net.thevpc.nuts.io.NPath getStoreLocation(net.thevpc.nuts.NStoreType folderType)
public String getUuid()
public void setConfig(net.thevpc.nuts.NRepositoryConfig newConfig,
boolean fireChange)
public void addMirror(net.thevpc.nuts.NRepository repo)
public void setIndexEnabled(boolean enabled)
public boolean isIndexEnabled()
public void setUser(net.thevpc.nuts.NUserConfig user)
public void removeUser(String userId)
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NUserConfig> findUser(String userId)
public net.thevpc.nuts.NUserConfig[] findUsers()
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.NRepository getMirror(String repositoryIdPath)
public net.thevpc.nuts.NRepository findMirror(String repositoryNameOrId)
public net.thevpc.nuts.NRepository findMirrorById(String repositoryNameOrId)
public net.thevpc.nuts.NRepository findMirrorByName(String repositoryNameOrId)
public List<net.thevpc.nuts.NRepository> getMirrors()
public net.thevpc.nuts.NRepository addMirror(net.thevpc.nuts.NAddRepositoryOptions options)
public net.thevpc.nuts.io.NPath getTempMirrorsRoot()
public net.thevpc.nuts.io.NPath getMirrorsRoot()
public net.thevpc.nuts.NRepositoryConfig getStoredConfig()
public void removeAllMirrors()
public net.thevpc.nuts.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 © 2025 vpc open source initiative. All rights reserved.