public class NutsRepositoryFolderHelper extends Object
| Constructor and Description |
|---|
NutsRepositoryFolderHelper(net.thevpc.nuts.NutsRepository repo,
net.thevpc.nuts.NutsWorkspace ws,
Path rootPath,
boolean cacheFolder) |
| 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) |
Path |
deployContent(net.thevpc.nuts.NutsId id,
Object content,
net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsConfirmationMode writeType,
net.thevpc.nuts.NutsSession session) |
Path |
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) |
protected net.thevpc.nuts.NutsDescriptor |
fetchDescriptorImpl(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
Iterator<net.thevpc.nuts.NutsId> |
findInFolder(Path folder,
net.thevpc.nuts.NutsIdFilter filter,
int maxDepth,
net.thevpc.nuts.NutsSession session) |
Path |
getGoodPath(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
protected String |
getIdFilename(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
Path |
getLocalGroupAndArtifactFile(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
Path |
getLongNameIdLocalFile(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
Path |
getLongNameIdLocalFolder(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
Path |
getShortNameIdLocalFolder(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
Path |
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(Path file,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
void |
reindexFolder(net.thevpc.nuts.NutsSession session) |
Iterator<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) |
Iterator<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.NutsWorkspace ws,
Path rootPath,
boolean cacheFolder)
public boolean isReadEnabled()
public void setReadEnabled(boolean readEnabled)
public boolean isWriteEnabled()
public void setWriteEnabled(boolean writeEnabled)
public Path getLongNameIdLocalFolder(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
public Path getLongNameIdLocalFile(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
public Path getShortNameIdLocalFolder(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()
protected String getIdFilename(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
public Path getGoodPath(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsDescriptor fetchDescriptorImpl(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsDescriptor loadMatchingDescriptor(Path file, net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
public Path getLocalGroupAndArtifactFile(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
public Iterator<net.thevpc.nuts.NutsId> searchVersions(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsIdFilter filter, boolean deep, net.thevpc.nuts.NutsSession session)
public Iterator<net.thevpc.nuts.NutsId> searchImpl(net.thevpc.nuts.NutsIdFilter filter, net.thevpc.nuts.NutsSession session)
public Iterator<net.thevpc.nuts.NutsId> findInFolder(Path folder, net.thevpc.nuts.NutsIdFilter filter, int maxDepth, net.thevpc.nuts.NutsSession session)
public Path 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 Path 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 Path deployContent(net.thevpc.nuts.NutsId id, Object 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 © 2021 vpc open source initiative. All rights reserved.