public abstract class AbstractNRepository extends Object implements net.thevpc.nuts.NRepository, net.thevpc.nuts.spi.NRepositorySPI
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.nuts.util.NCachedSupplier<Boolean> |
available |
protected NRepositoryConfigModel |
configModel |
protected boolean |
enabled |
protected Map<String,String> |
extensions |
protected net.thevpc.nuts.NAddRepositoryOptions |
options |
protected net.thevpc.nuts.NRepository |
parentRepository |
protected DefaultNRepositorySecurityModel |
securityModel |
protected boolean |
supportsDeploy |
protected net.thevpc.nuts.util.NObservableMap<String,Object> |
userProperties |
protected net.thevpc.nuts.NWorkspace |
workspace |
| Constructor and Description |
|---|
AbstractNRepository() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NRepository |
addRepositoryListener(net.thevpc.nuts.NRepositoryListener listener) |
net.thevpc.nuts.NRepository |
addTag(String tag) |
net.thevpc.nuts.NRepository |
addUserPropertyListener(net.thevpc.nuts.util.NObservableMapListener<String,Object> listener) |
net.thevpc.nuts.NRepositoryConfigManager |
config() |
boolean |
containsTags(String tag) |
net.thevpc.nuts.io.NPath |
getIdBasedir(net.thevpc.nuts.NId id) |
protected String |
getIdExtension(net.thevpc.nuts.NId id) |
String |
getIdFilename(net.thevpc.nuts.NId id) |
String |
getIdFilename(net.thevpc.nuts.NId id,
String ext) |
String |
getName() |
net.thevpc.nuts.NRepository |
getParentRepository() |
List<net.thevpc.nuts.NRepositoryListener> |
getRepositoryListeners() |
String |
getRepositoryType() |
Set<String> |
getTags() |
Map<String,Object> |
getUserProperties() |
List<net.thevpc.nuts.util.NObservableMapListener<String,Object>> |
getUserPropertyListeners() |
String |
getUuid() |
net.thevpc.nuts.NWorkspace |
getWorkspace() |
boolean |
isAccessible() |
boolean |
isAccessible(boolean force) |
protected boolean |
isAccessibleImpl() |
boolean |
isEnabled() |
boolean |
isPreview() |
boolean |
isSupportedDeploy() |
boolean |
isSupportedDeploy(boolean force) |
boolean |
isTemporary() |
net.thevpc.nuts.NRepository |
removeRepositoryListener(net.thevpc.nuts.NRepositoryListener listener) |
net.thevpc.nuts.NRepository |
removeTag(String tag) |
net.thevpc.nuts.NRepository |
removeUserPropertyListener(net.thevpc.nuts.util.NObservableMapListener<String,Object> listener) |
net.thevpc.nuts.NRepositorySecurityManager |
security() |
net.thevpc.nuts.NRepository |
setEnabled(boolean enabled) |
String |
toString() |
protected net.thevpc.nuts.NRepository parentRepository
protected net.thevpc.nuts.NWorkspace workspace
protected DefaultNRepositorySecurityModel securityModel
protected NRepositoryConfigModel configModel
protected net.thevpc.nuts.util.NCachedSupplier<Boolean> available
protected boolean supportsDeploy
protected boolean enabled
protected net.thevpc.nuts.NAddRepositoryOptions options
public boolean isTemporary()
isTemporary in interface net.thevpc.nuts.NRepositorypublic boolean isPreview()
isPreview in interface net.thevpc.nuts.NRepositorypublic boolean containsTags(String tag)
containsTags in interface net.thevpc.nuts.NRepositorypublic net.thevpc.nuts.NRepository addTag(String tag)
addTag in interface net.thevpc.nuts.NRepositorypublic net.thevpc.nuts.NRepository removeTag(String tag)
removeTag in interface net.thevpc.nuts.NRepositorypublic boolean isAccessible()
isAccessible in interface net.thevpc.nuts.NRepositorypublic boolean isAccessible(boolean force)
isAccessible in interface net.thevpc.nuts.NRepositorypublic boolean isSupportedDeploy()
isSupportedDeploy in interface net.thevpc.nuts.NRepositorypublic boolean isSupportedDeploy(boolean force)
isSupportedDeploy in interface net.thevpc.nuts.NRepositoryprotected boolean isAccessibleImpl()
public String getRepositoryType()
getRepositoryType in interface net.thevpc.nuts.NRepositorygetRepositoryType in interface net.thevpc.nuts.spi.NRepositorySPIpublic String getUuid()
getUuid in interface net.thevpc.nuts.NRepositorygetUuid in interface net.thevpc.nuts.spi.NRepositorySPIpublic String getName()
getName in interface net.thevpc.nuts.NRepositorygetName in interface net.thevpc.nuts.spi.NRepositorySPIpublic net.thevpc.nuts.NWorkspace getWorkspace()
getWorkspace in interface net.thevpc.nuts.NRepositorygetWorkspace in interface net.thevpc.nuts.spi.NRepositorySPIpublic net.thevpc.nuts.NRepository getParentRepository()
getParentRepository in interface net.thevpc.nuts.NRepositorygetParentRepository in interface net.thevpc.nuts.spi.NRepositorySPIpublic net.thevpc.nuts.NRepositoryConfigManager config()
config in interface net.thevpc.nuts.NRepositoryconfig in interface net.thevpc.nuts.spi.NRepositorySPIpublic net.thevpc.nuts.NRepositorySecurityManager security()
security in interface net.thevpc.nuts.NRepositorysecurity in interface net.thevpc.nuts.spi.NRepositorySPIpublic net.thevpc.nuts.NRepository removeRepositoryListener(net.thevpc.nuts.NRepositoryListener listener)
removeRepositoryListener in interface net.thevpc.nuts.NRepositorypublic net.thevpc.nuts.NRepository addRepositoryListener(net.thevpc.nuts.NRepositoryListener listener)
addRepositoryListener in interface net.thevpc.nuts.NRepositorypublic List<net.thevpc.nuts.NRepositoryListener> getRepositoryListeners()
getRepositoryListeners in interface net.thevpc.nuts.NRepositorygetRepositoryListeners in interface net.thevpc.nuts.spi.NRepositorySPIpublic Map<String,Object> getUserProperties()
getUserProperties in interface net.thevpc.nuts.NRepositorygetUserProperties in interface net.thevpc.nuts.spi.NRepositorySPIpublic net.thevpc.nuts.NRepository addUserPropertyListener(net.thevpc.nuts.util.NObservableMapListener<String,Object> listener)
addUserPropertyListener in interface net.thevpc.nuts.NRepositorypublic net.thevpc.nuts.NRepository removeUserPropertyListener(net.thevpc.nuts.util.NObservableMapListener<String,Object> listener)
removeUserPropertyListener in interface net.thevpc.nuts.NRepositorypublic List<net.thevpc.nuts.util.NObservableMapListener<String,Object>> getUserPropertyListeners()
getUserPropertyListeners in interface net.thevpc.nuts.NRepositorygetUserPropertyListeners in interface net.thevpc.nuts.spi.NRepositorySPIpublic boolean isEnabled()
isEnabled in interface net.thevpc.nuts.NRepositoryisEnabled in interface net.thevpc.nuts.spi.NRepositorySPIpublic net.thevpc.nuts.NRepository setEnabled(boolean enabled)
setEnabled in interface net.thevpc.nuts.NRepositorysetEnabled in interface net.thevpc.nuts.spi.NRepositorySPIprotected String getIdExtension(net.thevpc.nuts.NId id)
public net.thevpc.nuts.io.NPath getIdBasedir(net.thevpc.nuts.NId id)
public String getIdFilename(net.thevpc.nuts.NId id)
Copyright © 2025 vpc open source initiative. All rights reserved.