public abstract class AbstractNutsRepository extends Object implements net.thevpc.nuts.NutsRepository, net.thevpc.nuts.spi.NutsRepositorySPI
| Modifier and Type | Field and Description |
|---|---|
protected NutsCachedValue<Boolean> |
available |
protected NutsRepositoryConfigModel |
configModel |
protected boolean |
enabled |
protected Map<String,String> |
extensions |
protected net.thevpc.nuts.NutsSession |
initSession |
protected net.thevpc.nuts.NutsRepository |
parentRepository |
protected DefaultNutsRepositorySecurityModel |
securityModel |
protected NutsCachedValue<Boolean> |
supportedDeploy |
protected ObservableMap<String,Object> |
userProperties |
protected net.thevpc.nuts.NutsWorkspace |
workspace |
| Constructor and Description |
|---|
AbstractNutsRepository() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsRepository |
addRepositoryListener(net.thevpc.nuts.NutsRepositoryListener listener) |
net.thevpc.nuts.NutsRepository |
addUserPropertyListener(net.thevpc.nuts.NutsMapListener<String,Object> listener) |
net.thevpc.nuts.NutsRepositoryConfigManager |
config() |
net.thevpc.nuts.NutsPath |
getIdBasedir(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
protected String |
getIdExtension(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
String |
getIdFilename(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
String |
getName() |
net.thevpc.nuts.NutsRepository |
getParentRepository() |
net.thevpc.nuts.NutsRepositoryListener[] |
getRepositoryListeners() |
String |
getRepositoryType() |
Map<String,Object> |
getUserProperties() |
net.thevpc.nuts.NutsMapListener<String,Object>[] |
getUserPropertyListeners() |
String |
getUuid() |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
boolean |
isAvailable(boolean force,
net.thevpc.nuts.NutsSession session) |
boolean |
isAvailable(net.thevpc.nuts.NutsSession session) |
protected boolean |
isAvailableImpl(net.thevpc.nuts.NutsSession session) |
boolean |
isEnabled() |
boolean |
isSupportedDeploy(boolean force,
net.thevpc.nuts.NutsSession session) |
boolean |
isSupportedDeploy(net.thevpc.nuts.NutsSession session) |
protected boolean |
isSupportedDeployImpl(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepository |
removeRepositoryListener(net.thevpc.nuts.NutsRepositoryListener listener) |
net.thevpc.nuts.NutsRepository |
removeUserPropertyListener(net.thevpc.nuts.NutsMapListener<String,Object> listener) |
net.thevpc.nuts.NutsRepositorySecurityManager |
security() |
net.thevpc.nuts.NutsRepository |
setEnabled(boolean enabled) |
String |
toString() |
protected net.thevpc.nuts.NutsRepository parentRepository
protected net.thevpc.nuts.NutsWorkspace workspace
protected DefaultNutsRepositorySecurityModel securityModel
protected NutsRepositoryConfigModel configModel
protected ObservableMap<String,Object> userProperties
protected boolean enabled
protected net.thevpc.nuts.NutsSession initSession
protected NutsCachedValue<Boolean> available
protected NutsCachedValue<Boolean> supportedDeploy
public boolean isAvailable(net.thevpc.nuts.NutsSession session)
isAvailable in interface net.thevpc.nuts.NutsRepositorypublic boolean isAvailable(boolean force,
net.thevpc.nuts.NutsSession session)
isAvailable in interface net.thevpc.nuts.NutsRepositorypublic boolean isSupportedDeploy(net.thevpc.nuts.NutsSession session)
isSupportedDeploy in interface net.thevpc.nuts.NutsRepositorypublic boolean isSupportedDeploy(boolean force,
net.thevpc.nuts.NutsSession session)
isSupportedDeploy in interface net.thevpc.nuts.NutsRepositoryprotected boolean isSupportedDeployImpl(net.thevpc.nuts.NutsSession session)
protected boolean isAvailableImpl(net.thevpc.nuts.NutsSession session)
public String getRepositoryType()
getRepositoryType in interface net.thevpc.nuts.NutsRepositorygetRepositoryType in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic String getUuid()
getUuid in interface net.thevpc.nuts.NutsRepositorygetUuid in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic String getName()
getName in interface net.thevpc.nuts.NutsRepositorygetName in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.NutsWorkspace getWorkspace()
getWorkspace in interface net.thevpc.nuts.NutsRepositorygetWorkspace in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.NutsRepository getParentRepository()
getParentRepository in interface net.thevpc.nuts.NutsRepositorygetParentRepository in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.NutsRepositoryConfigManager config()
config in interface net.thevpc.nuts.NutsRepositoryconfig in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.NutsRepositorySecurityManager security()
security in interface net.thevpc.nuts.NutsRepositorysecurity in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.NutsRepository removeRepositoryListener(net.thevpc.nuts.NutsRepositoryListener listener)
removeRepositoryListener in interface net.thevpc.nuts.NutsRepositorypublic net.thevpc.nuts.NutsRepository addRepositoryListener(net.thevpc.nuts.NutsRepositoryListener listener)
addRepositoryListener in interface net.thevpc.nuts.NutsRepositorypublic net.thevpc.nuts.NutsRepositoryListener[] getRepositoryListeners()
getRepositoryListeners in interface net.thevpc.nuts.NutsRepositorygetRepositoryListeners in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic Map<String,Object> getUserProperties()
getUserProperties in interface net.thevpc.nuts.NutsRepositorygetUserProperties in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.NutsRepository addUserPropertyListener(net.thevpc.nuts.NutsMapListener<String,Object> listener)
addUserPropertyListener in interface net.thevpc.nuts.NutsRepositorypublic net.thevpc.nuts.NutsRepository removeUserPropertyListener(net.thevpc.nuts.NutsMapListener<String,Object> listener)
removeUserPropertyListener in interface net.thevpc.nuts.NutsRepositorypublic net.thevpc.nuts.NutsMapListener<String,Object>[] getUserPropertyListeners()
getUserPropertyListeners in interface net.thevpc.nuts.NutsRepositorygetUserPropertyListeners in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic boolean isEnabled()
isEnabled in interface net.thevpc.nuts.NutsRepositoryisEnabled in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.NutsRepository setEnabled(boolean enabled)
setEnabled in interface net.thevpc.nuts.NutsRepositorysetEnabled in interface net.thevpc.nuts.spi.NutsRepositorySPIprotected String getIdExtension(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPath getIdBasedir(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public String getIdFilename(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
Copyright © 2022 vpc open source initiative. All rights reserved.