public class NutsRepositoryFolderHelper extends Object
| Constructor and Description |
|---|
NutsRepositoryFolderHelper(net.thevpc.nuts.NutsRepository repo,
net.thevpc.nuts.NutsSession ws,
net.thevpc.nuts.NutsPath rootPath,
boolean cacheFolder,
String kind,
net.thevpc.nuts.NutsObjectElement extraInfoElements) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.NutsLogger |
_LOG(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsDescriptor |
deploy(net.thevpc.nuts.spi.NutsDeployRepositoryCommand deployment,
net.thevpc.nuts.NutsConfirmationMode writeType) |
net.thevpc.nuts.NutsPath |
deployContent(net.thevpc.nuts.NutsId id,
NutsStreamOrPath content,
net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsConfirmationMode writeType,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsPath |
deployDescriptor(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsDescriptor desc,
net.thevpc.nuts.NutsConfirmationMode writeType,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsContent |
fetchContentImpl(net.thevpc.nuts.NutsId id,
String localPath,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsDescriptor |
fetchDescriptorImpl(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsIterator<net.thevpc.nuts.NutsId> |
findInFolder(net.thevpc.nuts.NutsPath folder,
net.thevpc.nuts.NutsIdFilter filter,
int maxDepth,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsPath |
getGoodPath(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
protected String |
getIdFilename(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsPath |
getLocalGroupAndArtifactFile(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsPath |
getLongIdLocalFile(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsPath |
getLongIdLocalFolder(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsPath |
getRelativeLocalGroupAndArtifactFile(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsSession |
getSession() |
net.thevpc.nuts.NutsPath |
getShortIdLocalFolder(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsPath |
getStoreLocation() |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
boolean |
isDeployed(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsSession session) |
boolean |
isReadEnabled() |
boolean |
isWriteEnabled() |
protected net.thevpc.nuts.NutsDescriptor |
loadMatchingDescriptor(net.thevpc.nuts.NutsPath file,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
void |
reindexFolder(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsIterator<net.thevpc.nuts.NutsId> |
searchImpl(net.thevpc.nuts.NutsIdFilter filter,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsId |
searchLatestVersion(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsIdFilter filter,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsIterator<net.thevpc.nuts.NutsId> |
searchVersions(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsIdFilter filter,
boolean deep,
net.thevpc.nuts.NutsSession session) |
void |
setReadEnabled(boolean readEnabled) |
void |
setWriteEnabled(boolean writeEnabled) |
boolean |
undeploy(net.thevpc.nuts.spi.NutsRepositoryUndeployCommand command) |
public NutsRepositoryFolderHelper(net.thevpc.nuts.NutsRepository repo,
net.thevpc.nuts.NutsSession ws,
net.thevpc.nuts.NutsPath rootPath,
boolean cacheFolder,
String kind,
net.thevpc.nuts.NutsObjectElement extraInfoElements)
public boolean isReadEnabled()
public void setReadEnabled(boolean readEnabled)
public boolean isWriteEnabled()
public void setWriteEnabled(boolean writeEnabled)
public net.thevpc.nuts.NutsPath getLongIdLocalFolder(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPath getLongIdLocalFile(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPath getShortIdLocalFolder(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsContent fetchContentImpl(net.thevpc.nuts.NutsId id,
String localPath,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsWorkspace getWorkspace()
public net.thevpc.nuts.NutsSession getSession()
protected String getIdFilename(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPath getGoodPath(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsDescriptor fetchDescriptorImpl(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsDescriptor loadMatchingDescriptor(net.thevpc.nuts.NutsPath file,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPath getRelativeLocalGroupAndArtifactFile(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPath getLocalGroupAndArtifactFile(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsIterator<net.thevpc.nuts.NutsId> searchVersions(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsIdFilter filter,
boolean deep,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsIterator<net.thevpc.nuts.NutsId> searchImpl(net.thevpc.nuts.NutsIdFilter filter,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsIterator<net.thevpc.nuts.NutsId> findInFolder(net.thevpc.nuts.NutsPath folder,
net.thevpc.nuts.NutsIdFilter filter,
int maxDepth,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPath getStoreLocation()
public net.thevpc.nuts.NutsId searchLatestVersion(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsIdFilter filter,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsDescriptor deploy(net.thevpc.nuts.spi.NutsDeployRepositoryCommand deployment,
net.thevpc.nuts.NutsConfirmationMode writeType)
protected net.thevpc.nuts.NutsLogger _LOG(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPath deployDescriptor(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsDescriptor desc,
net.thevpc.nuts.NutsConfirmationMode writeType,
net.thevpc.nuts.NutsSession session)
public boolean isDeployed(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPath deployContent(net.thevpc.nuts.NutsId id,
NutsStreamOrPath content,
net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsConfirmationMode writeType,
net.thevpc.nuts.NutsSession session)
public boolean undeploy(net.thevpc.nuts.spi.NutsRepositoryUndeployCommand command)
public void reindexFolder(net.thevpc.nuts.NutsSession session)
Copyright © 2022 vpc open source initiative. All rights reserved.