public abstract class AbstractNutsRepository extends Object implements NutsRepository, NutsRepositorySPI
| Modifier and Type | Field and Description |
|---|---|
protected CachedValue<Boolean> |
available |
protected NutsRepositoryConfigModel |
configModel |
protected boolean |
enabled |
protected DefaultNutsRepositoryEnvModel |
envModel |
protected Map<String,String> |
extensions |
protected NutsSession |
initSession |
protected NutsRepository |
parentRepository |
protected DefaultNutsRepositorySecurityModel |
securityModel |
protected ObservableMap<String,Object> |
userProperties |
protected NutsWorkspace |
workspace |
SPEED_FAST, SPEED_FASTER, SPEED_FASTEST, SPEED_SLOW, SPEED_SLOWER, SPEED_SLOWEST| Constructor and Description |
|---|
AbstractNutsRepository() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisRemotedeploy, fetchContent, fetchDescriptor, isAcceptFetchMode, push, search, searchVersions, undeploy, updateStatisticsprotected NutsRepository parentRepository
protected NutsWorkspace workspace
protected DefaultNutsRepositorySecurityModel securityModel
protected NutsRepositoryConfigModel configModel
protected ObservableMap<String,Object> userProperties
protected boolean enabled
protected DefaultNutsRepositoryEnvModel envModel
protected NutsSession initSession
protected CachedValue<Boolean> available
public boolean isAvailable()
isAvailable in interface NutsRepositorypublic boolean isAvailable(boolean force)
isAvailable in interface NutsRepositoryprotected boolean isAvailableImpl()
public NutsRepositoryEnvManager env()
env in interface NutsRepositoryenv in interface NutsRepositorySPIpublic String getRepositoryType()
getRepositoryType in interface NutsRepositorygetRepositoryType in interface NutsRepositorySPIpublic String getUuid()
getUuid in interface NutsRepositorygetUuid in interface NutsRepositorySPIpublic String getName()
getName in interface NutsRepositorygetName in interface NutsRepositorySPIpublic NutsWorkspace getWorkspace()
getWorkspace in interface NutsRepositorygetWorkspace in interface NutsRepositorySPIpublic NutsRepository getParentRepository()
getParentRepository in interface NutsRepositorygetParentRepository in interface NutsRepositorySPIpublic NutsRepositoryConfigManager config()
config in interface NutsRepositoryconfig in interface NutsRepositorySPIpublic NutsRepositorySecurityManager security()
security in interface NutsRepositorysecurity in interface NutsRepositorySPIpublic NutsRepository removeRepositoryListener(NutsRepositoryListener listener)
removeRepositoryListener in interface NutsRepositorypublic NutsRepository addRepositoryListener(NutsRepositoryListener listener)
addRepositoryListener in interface NutsRepositorypublic NutsRepositoryListener[] getRepositoryListeners()
getRepositoryListeners in interface NutsRepositorygetRepositoryListeners in interface NutsRepositorySPIpublic Map<String,Object> getUserProperties()
getUserProperties in interface NutsRepositorygetUserProperties in interface NutsRepositorySPIpublic NutsRepository addUserPropertyListener(NutsMapListener<String,Object> listener)
addUserPropertyListener in interface NutsRepositorypublic NutsRepository removeUserPropertyListener(NutsMapListener<String,Object> listener)
removeUserPropertyListener in interface NutsRepositorypublic NutsMapListener<String,Object>[] getUserPropertyListeners()
getUserPropertyListeners in interface NutsRepositorygetUserPropertyListeners in interface NutsRepositorySPIpublic boolean isEnabled()
isEnabled in interface NutsRepositoryisEnabled in interface NutsRepositorySPIpublic NutsRepository setEnabled(boolean enabled)
setEnabled in interface NutsRepositorysetEnabled in interface NutsRepositorySPIprotected String getIdExtension(NutsId id, NutsSession session)
public String getIdBasedir(NutsId id, NutsSession session)
public String getIdFilename(NutsId id, NutsSession session)
Copyright © 2021 vpc open source initiative. All rights reserved.