public class DefaultNutsRepositoryConfigModel extends Object implements NutsRepositoryConfigModel
| Constructor and Description |
|---|
DefaultNutsRepositoryConfigModel(net.thevpc.nuts.NutsRepository repository,
net.thevpc.nuts.NutsAddRepositoryOptions options,
net.thevpc.nuts.NutsSession session,
int speed,
boolean supportedMirroring,
String repositoryType) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.NutsLogger |
_LOG(net.thevpc.nuts.NutsSession session) |
protected net.thevpc.nuts.NutsLoggerOp |
_LOGOP(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepository |
addMirror(net.thevpc.nuts.NutsAddRepositoryOptions options,
net.thevpc.nuts.NutsSession session) |
void |
addMirror(net.thevpc.nuts.NutsRepository repo,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepository |
findMirror(String repositoryNameOrId,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepository |
findMirrorById(String repositoryNameOrId,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepository |
findMirrorByName(String repositoryNameOrId,
net.thevpc.nuts.NutsSession session) |
void |
fireConfigurationChanged(String configName,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepositoryConfig |
getConfig(net.thevpc.nuts.NutsSession session) |
int |
getDeployOrder(net.thevpc.nuts.NutsSession session) |
String |
getGlobalName(net.thevpc.nuts.NutsSession session) |
String |
getGroups(net.thevpc.nuts.NutsSession session) |
String |
getLocation() |
String |
getLocation(boolean expand,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepository |
getMirror(String repositoryIdPath,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepository[] |
getMirrors(net.thevpc.nuts.NutsSession session) |
Path |
getMirrorsRoot(net.thevpc.nuts.NutsSession session) |
String |
getName() |
net.thevpc.nuts.NutsRepository |
getRepository() |
net.thevpc.nuts.NutsRepositoryRef |
getRepositoryRef(net.thevpc.nuts.NutsSession session) |
int |
getSpeed(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepositoryConfig |
getStoredConfig(net.thevpc.nuts.NutsSession session) |
String |
getStoreLocation() |
String |
getStoreLocation(net.thevpc.nuts.NutsStoreLocation folderType,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsStoreLocationStrategy |
getStoreLocationStrategy(net.thevpc.nuts.NutsSession session) |
Path |
getTempMirrorsRoot(net.thevpc.nuts.NutsSession session) |
String |
getType(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsUserConfig |
getUser(String userId,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsUserConfig[] |
getUsers(net.thevpc.nuts.NutsSession session) |
String |
getUuid() |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
boolean |
isConfigurationChanged() |
boolean |
isEnabled(net.thevpc.nuts.NutsSession session) |
boolean |
isIndexEnabled(net.thevpc.nuts.NutsSession session) |
boolean |
isIndexSubscribed(net.thevpc.nuts.NutsSession session) |
boolean |
isSupportedMirroring(net.thevpc.nuts.NutsSession session) |
boolean |
isTemporary(net.thevpc.nuts.NutsSession session) |
void |
removeAllMirrors(net.thevpc.nuts.NutsSession options) |
void |
removeMirror(String repositoryId,
net.thevpc.nuts.NutsSession session) |
void |
removeUser(String userId,
net.thevpc.nuts.NutsSession session) |
boolean |
save(boolean force,
net.thevpc.nuts.NutsSession session) |
void |
save(net.thevpc.nuts.NutsSession session) |
void |
setConfig(net.thevpc.nuts.NutsRepositoryConfig newConfig,
net.thevpc.nuts.NutsSession session,
boolean fireChange) |
void |
setEnabled(boolean enabled,
net.thevpc.nuts.NutsSession session) |
void |
setEnv(String property,
String value,
net.thevpc.nuts.NutsSession session) |
void |
setIndexEnabled(boolean enabled,
net.thevpc.nuts.NutsSession session) |
void |
setMirrorEnabled(String repoName,
boolean enabled,
net.thevpc.nuts.NutsSession session) |
void |
setTemporary(boolean transientRepository,
net.thevpc.nuts.NutsSession session) |
void |
setUser(net.thevpc.nuts.NutsUserConfig user,
net.thevpc.nuts.NutsSession session) |
void |
subscribeIndex(net.thevpc.nuts.NutsSession session) |
void |
unsubscribeIndex(net.thevpc.nuts.NutsSession session) |
public DefaultNutsRepositoryConfigModel(net.thevpc.nuts.NutsRepository repository,
net.thevpc.nuts.NutsAddRepositoryOptions options,
net.thevpc.nuts.NutsSession session,
int speed,
boolean supportedMirroring,
String repositoryType)
protected net.thevpc.nuts.NutsLoggerOp _LOGOP(net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsLogger _LOG(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsRepository getRepository()
getRepository in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsWorkspace getWorkspace()
getWorkspace in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsRepositoryRef getRepositoryRef(net.thevpc.nuts.NutsSession session)
getRepositoryRef in interface NutsRepositoryConfigModelpublic String getName()
getName in interface NutsRepositoryConfigModelpublic int getDeployOrder(net.thevpc.nuts.NutsSession session)
getDeployOrder in interface NutsRepositoryConfigModelpublic int getSpeed(net.thevpc.nuts.NutsSession session)
getSpeed in interface NutsRepositoryConfigModelpublic String getType(net.thevpc.nuts.NutsSession session)
getType in interface NutsRepositoryConfigModelpublic String getGroups(net.thevpc.nuts.NutsSession session)
getGroups in interface NutsRepositoryConfigModelpublic String getLocation(boolean expand, net.thevpc.nuts.NutsSession session)
getLocation in interface NutsRepositoryConfigModelpublic String getStoreLocation()
getStoreLocation in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsStoreLocationStrategy getStoreLocationStrategy(net.thevpc.nuts.NutsSession session)
getStoreLocationStrategy in interface NutsRepositoryConfigModelpublic String getStoreLocation(net.thevpc.nuts.NutsStoreLocation folderType, net.thevpc.nuts.NutsSession session)
getStoreLocation in interface NutsRepositoryConfigModelpublic String getUuid()
getUuid in interface NutsRepositoryConfigModelpublic String getLocation()
getLocation in interface NutsRepositoryConfigModelpublic void setConfig(net.thevpc.nuts.NutsRepositoryConfig newConfig,
net.thevpc.nuts.NutsSession session,
boolean fireChange)
public void addMirror(net.thevpc.nuts.NutsRepository repo,
net.thevpc.nuts.NutsSession session)
addMirror in interface NutsRepositoryConfigModelpublic void setIndexEnabled(boolean enabled,
net.thevpc.nuts.NutsSession session)
setIndexEnabled in interface NutsRepositoryConfigModelpublic boolean isIndexEnabled(net.thevpc.nuts.NutsSession session)
isIndexEnabled in interface NutsRepositoryConfigModelpublic void setUser(net.thevpc.nuts.NutsUserConfig user,
net.thevpc.nuts.NutsSession session)
setUser in interface NutsRepositoryConfigModelpublic void removeUser(String userId, net.thevpc.nuts.NutsSession session)
removeUser in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsUserConfig getUser(String userId, net.thevpc.nuts.NutsSession session)
getUser in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsUserConfig[] getUsers(net.thevpc.nuts.NutsSession session)
getUsers in interface NutsRepositoryConfigModelpublic void setMirrorEnabled(String repoName, boolean enabled, net.thevpc.nuts.NutsSession session)
setMirrorEnabled in interface NutsRepositoryConfigModelpublic boolean save(boolean force,
net.thevpc.nuts.NutsSession session)
save in interface NutsRepositoryConfigModelpublic void save(net.thevpc.nuts.NutsSession session)
public void fireConfigurationChanged(String configName, net.thevpc.nuts.NutsSession session)
fireConfigurationChanged in interface NutsRepositoryConfigModelpublic boolean isConfigurationChanged()
public void setEnabled(boolean enabled,
net.thevpc.nuts.NutsSession session)
setEnabled in interface NutsRepositoryConfigModelpublic boolean isEnabled(net.thevpc.nuts.NutsSession session)
isEnabled in interface NutsRepositoryConfigModelpublic boolean isTemporary(net.thevpc.nuts.NutsSession session)
isTemporary in interface NutsRepositoryConfigModelpublic void setTemporary(boolean transientRepository,
net.thevpc.nuts.NutsSession session)
setTemporary in interface NutsRepositoryConfigModelpublic boolean isIndexSubscribed(net.thevpc.nuts.NutsSession session)
isIndexSubscribed in interface NutsRepositoryConfigModelpublic void subscribeIndex(net.thevpc.nuts.NutsSession session)
subscribeIndex in interface NutsRepositoryConfigModelpublic void unsubscribeIndex(net.thevpc.nuts.NutsSession session)
unsubscribeIndex in interface NutsRepositoryConfigModelpublic String getGlobalName(net.thevpc.nuts.NutsSession session)
getGlobalName in interface NutsRepositoryConfigModelpublic boolean isSupportedMirroring(net.thevpc.nuts.NutsSession session)
isSupportedMirroring in interface NutsRepositoryConfigModelpublic void removeMirror(String repositoryId, net.thevpc.nuts.NutsSession session)
removeMirror in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsRepository getMirror(String repositoryIdPath, net.thevpc.nuts.NutsSession session)
getMirror in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsRepository findMirror(String repositoryNameOrId, net.thevpc.nuts.NutsSession session)
findMirror in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsRepository findMirrorById(String repositoryNameOrId, net.thevpc.nuts.NutsSession session)
findMirrorById in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsRepository findMirrorByName(String repositoryNameOrId, net.thevpc.nuts.NutsSession session)
findMirrorByName in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsRepository[] getMirrors(net.thevpc.nuts.NutsSession session)
getMirrors in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsRepository addMirror(net.thevpc.nuts.NutsAddRepositoryOptions options,
net.thevpc.nuts.NutsSession session)
addMirror in interface NutsRepositoryConfigModelpublic Path getTempMirrorsRoot(net.thevpc.nuts.NutsSession session)
getTempMirrorsRoot in interface NutsRepositoryConfigModelpublic Path getMirrorsRoot(net.thevpc.nuts.NutsSession session)
getMirrorsRoot in interface NutsRepositoryConfigModelpublic net.thevpc.nuts.NutsRepositoryConfig getStoredConfig(net.thevpc.nuts.NutsSession session)
getStoredConfig in interface NutsRepositoryConfigModelpublic void removeAllMirrors(net.thevpc.nuts.NutsSession options)
public net.thevpc.nuts.NutsRepositoryConfig getConfig(net.thevpc.nuts.NutsSession session)
getConfig in interface NutsRepositoryConfigModelCopyright © 2021 vpc open source initiative. All rights reserved.