public class NutsRepositorySessionAwareImpl extends Object implements net.thevpc.nuts.NutsRepository, net.thevpc.nuts.spi.NutsRepositorySPI, NutsRepositoryExt
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptAction(net.thevpc.nuts.NutsId id,
NutsRepositorySupportedAction supportedAction,
net.thevpc.nuts.NutsFetchMode mode,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepository |
addRepositoryListener(net.thevpc.nuts.NutsRepositoryListener listener) |
net.thevpc.nuts.NutsRepository |
addUserPropertyListener(net.thevpc.nuts.NutsMapListener<String,Object> listener) |
void |
checkAllowedFetch(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepositoryConfigManager |
config() |
net.thevpc.nuts.spi.NutsDeployRepositoryCommand |
deploy() |
net.thevpc.nuts.NutsDescriptor |
deployImpl(net.thevpc.nuts.spi.NutsDeployRepositoryCommand command) |
net.thevpc.nuts.NutsRepositoryEnvManager |
env() |
net.thevpc.nuts.spi.NutsFetchContentRepositoryCommand |
fetchContent() |
net.thevpc.nuts.NutsContent |
fetchContentImpl(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsDescriptor descriptor,
String localPath,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsFetchDescriptorRepositoryCommand |
fetchDescriptor() |
net.thevpc.nuts.NutsDescriptor |
fetchDescriptorImpl(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsSession session) |
String |
getIdBasedir(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
String |
getIdFilename(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsIndexStore |
getIndexStore() |
String |
getName() |
net.thevpc.nuts.NutsRepository |
getParentRepository() |
net.thevpc.nuts.NutsRepositoryListener[] |
getRepositoryListeners() |
String |
getRepositoryType() |
net.thevpc.nuts.NutsSession |
getSession() |
Map<String,Object> |
getUserProperties() |
net.thevpc.nuts.NutsMapListener<String,Object>[] |
getUserPropertyListeners() |
String |
getUuid() |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
boolean |
isAcceptFetchMode(net.thevpc.nuts.NutsFetchMode mode,
net.thevpc.nuts.NutsSession session) |
boolean |
isAvailable() |
boolean |
isAvailable(boolean force) |
boolean |
isEnabled() |
boolean |
isRemote() |
static NutsRepositorySessionAwareImpl |
of(net.thevpc.nuts.NutsRepository repo,
net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsPushRepositoryCommand |
push() |
void |
pushImpl(net.thevpc.nuts.spi.NutsPushRepositoryCommand command) |
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.spi.NutsSearchRepositoryCommand |
search() |
Iterator<net.thevpc.nuts.NutsId> |
searchImpl(net.thevpc.nuts.NutsIdFilter filter,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsId |
searchLatestVersion(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsIdFilter filter,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsSearchVersionsRepositoryCommand |
searchVersions() |
Iterator<net.thevpc.nuts.NutsId> |
searchVersionsImpl(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsIdFilter idFilter,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsRepositorySecurityManager |
security() |
net.thevpc.nuts.NutsRepository |
setEnabled(boolean enabled) |
String |
toString() |
net.thevpc.nuts.spi.NutsRepositoryUndeployCommand |
undeploy() |
void |
undeployImpl(net.thevpc.nuts.spi.NutsRepositoryUndeployCommand command) |
net.thevpc.nuts.spi.NutsUpdateRepositoryStatisticsCommand |
updateStatistics() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitofpublic static NutsRepositorySessionAwareImpl of(net.thevpc.nuts.NutsRepository repo, net.thevpc.nuts.NutsWorkspace ws, net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsSession getSession()
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.NutsRepositoryEnvManager env()
env in interface net.thevpc.nuts.NutsRepositoryenv 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.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsDeployRepositoryCommand deploy()
deploy in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsRepositoryUndeployCommand undeploy()
undeploy in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsPushRepositoryCommand push()
push in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsFetchDescriptorRepositoryCommand fetchDescriptor()
fetchDescriptor in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsFetchContentRepositoryCommand fetchContent()
fetchContent in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsSearchRepositoryCommand search()
search in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsSearchVersionsRepositoryCommand searchVersions()
searchVersions in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.spi.NutsUpdateRepositoryStatisticsCommand updateStatistics()
updateStatistics in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic boolean isAcceptFetchMode(net.thevpc.nuts.NutsFetchMode mode,
net.thevpc.nuts.NutsSession session)
isAcceptFetchMode in interface net.thevpc.nuts.spi.NutsRepositorySPIpublic net.thevpc.nuts.NutsIndexStore getIndexStore()
getIndexStore in interface NutsRepositoryExtpublic void pushImpl(net.thevpc.nuts.spi.NutsPushRepositoryCommand command)
pushImpl in interface NutsRepositoryExtpublic net.thevpc.nuts.NutsDescriptor deployImpl(net.thevpc.nuts.spi.NutsDeployRepositoryCommand command)
deployImpl in interface NutsRepositoryExtpublic void undeployImpl(net.thevpc.nuts.spi.NutsRepositoryUndeployCommand command)
undeployImpl in interface NutsRepositoryExtpublic void checkAllowedFetch(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
checkAllowedFetch in interface NutsRepositoryExtpublic net.thevpc.nuts.NutsDescriptor fetchDescriptorImpl(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsSession session)
fetchDescriptorImpl in interface NutsRepositoryExtpublic Iterator<net.thevpc.nuts.NutsId> searchVersionsImpl(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsIdFilter idFilter, net.thevpc.nuts.NutsFetchMode fetchMode, net.thevpc.nuts.NutsSession session)
searchVersionsImpl in interface NutsRepositoryExtpublic net.thevpc.nuts.NutsContent fetchContentImpl(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsDescriptor descriptor,
String localPath,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsSession session)
fetchContentImpl in interface NutsRepositoryExtpublic Iterator<net.thevpc.nuts.NutsId> searchImpl(net.thevpc.nuts.NutsIdFilter filter, net.thevpc.nuts.NutsFetchMode fetchMode, net.thevpc.nuts.NutsSession session)
searchImpl in interface NutsRepositoryExtpublic net.thevpc.nuts.NutsId searchLatestVersion(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsIdFilter filter,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsSession session)
searchLatestVersion in interface NutsRepositoryExtpublic boolean acceptAction(net.thevpc.nuts.NutsId id,
NutsRepositorySupportedAction supportedAction,
net.thevpc.nuts.NutsFetchMode mode,
net.thevpc.nuts.NutsSession session)
acceptAction in interface NutsRepositoryExtpublic String getIdBasedir(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
getIdBasedir in interface NutsRepositoryExt0public String getIdFilename(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
getIdFilename in interface NutsRepositoryExt0public boolean isAvailable()
isAvailable in interface net.thevpc.nuts.NutsRepositorypublic boolean isAvailable(boolean force)
isAvailable in interface net.thevpc.nuts.NutsRepositorypublic boolean isRemote()
isRemote in interface net.thevpc.nuts.NutsRepositoryCopyright © 2021 vpc open source initiative. All rights reserved.