public class NRepositoryFolderHelper extends Object
| Constructor and Description |
|---|
NRepositoryFolderHelper(net.thevpc.nuts.NRepository repo,
net.thevpc.nuts.io.NPath rootPath,
boolean cacheFolder,
String kind,
net.thevpc.nuts.elem.NObjectElement extraInfoElements) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
net.thevpc.nuts.NDescriptor |
deploy(net.thevpc.nuts.spi.NDeployRepositoryCmd deployment,
net.thevpc.nuts.NConfirmationMode writeType) |
net.thevpc.nuts.io.NPath |
deployContent(net.thevpc.nuts.NId id,
net.thevpc.nuts.io.NInputSource content,
net.thevpc.nuts.NDescriptor descriptor,
net.thevpc.nuts.NConfirmationMode writeType) |
net.thevpc.nuts.io.NPath |
deployDescriptor(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDescriptor desc,
net.thevpc.nuts.NConfirmationMode writeType) |
net.thevpc.nuts.io.NPath |
fetchContentImpl(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NDescriptor |
fetchDescriptorImpl(net.thevpc.nuts.NId id) |
net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> |
findInFolder(net.thevpc.nuts.io.NPath folder,
net.thevpc.nuts.NDefinitionFilter filter,
int maxDepth) |
net.thevpc.nuts.io.NPath |
getGoodPath(net.thevpc.nuts.NId id) |
protected String |
getIdFilename(net.thevpc.nuts.NId id) |
net.thevpc.nuts.io.NPath |
getLocalGroupAndArtifactFile(net.thevpc.nuts.NId id) |
net.thevpc.nuts.io.NPath |
getLongIdLocalFile(net.thevpc.nuts.NId id) |
net.thevpc.nuts.io.NPath |
getLongIdLocalFolder(net.thevpc.nuts.NId id) |
net.thevpc.nuts.io.NPath |
getRelativeLocalGroupAndArtifactFile(net.thevpc.nuts.NId id) |
net.thevpc.nuts.io.NPath |
getShortIdLocalFolder(net.thevpc.nuts.NId id) |
net.thevpc.nuts.io.NPath |
getStoreLocation() |
net.thevpc.nuts.NWorkspace |
getWorkspace() |
boolean |
isDeployed(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDescriptor descriptor) |
boolean |
isReadEnabled() |
boolean |
isWriteEnabled() |
protected net.thevpc.nuts.NDescriptor |
loadMatchingDescriptor(net.thevpc.nuts.io.NPath file,
net.thevpc.nuts.NId id) |
void |
reindexFolder() |
net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> |
searchImpl(net.thevpc.nuts.NDefinitionFilter filter) |
net.thevpc.nuts.NId |
searchLatestVersion(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter filter) |
net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> |
searchVersions(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter filter,
boolean deep) |
void |
setReadEnabled(boolean readEnabled) |
void |
setWriteEnabled(boolean writeEnabled) |
boolean |
undeploy(net.thevpc.nuts.spi.NRepositoryUndeployCmd command) |
public NRepositoryFolderHelper(net.thevpc.nuts.NRepository repo,
net.thevpc.nuts.io.NPath rootPath,
boolean cacheFolder,
String kind,
net.thevpc.nuts.elem.NObjectElement extraInfoElements)
public boolean isReadEnabled()
public void setReadEnabled(boolean readEnabled)
public boolean isWriteEnabled()
public void setWriteEnabled(boolean writeEnabled)
public net.thevpc.nuts.io.NPath getLongIdLocalFolder(net.thevpc.nuts.NId id)
public net.thevpc.nuts.io.NPath getLongIdLocalFile(net.thevpc.nuts.NId id)
public net.thevpc.nuts.io.NPath getShortIdLocalFolder(net.thevpc.nuts.NId id)
public net.thevpc.nuts.io.NPath fetchContentImpl(net.thevpc.nuts.NId id)
public net.thevpc.nuts.NWorkspace getWorkspace()
protected String getIdFilename(net.thevpc.nuts.NId id)
public net.thevpc.nuts.io.NPath getGoodPath(net.thevpc.nuts.NId id)
public net.thevpc.nuts.NDescriptor fetchDescriptorImpl(net.thevpc.nuts.NId id)
protected net.thevpc.nuts.NDescriptor loadMatchingDescriptor(net.thevpc.nuts.io.NPath file,
net.thevpc.nuts.NId id)
public net.thevpc.nuts.io.NPath getRelativeLocalGroupAndArtifactFile(net.thevpc.nuts.NId id)
public net.thevpc.nuts.io.NPath getLocalGroupAndArtifactFile(net.thevpc.nuts.NId id)
public net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> searchVersions(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter filter,
boolean deep)
public net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> searchImpl(net.thevpc.nuts.NDefinitionFilter filter)
public net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> findInFolder(net.thevpc.nuts.io.NPath folder,
net.thevpc.nuts.NDefinitionFilter filter,
int maxDepth)
public net.thevpc.nuts.io.NPath getStoreLocation()
public net.thevpc.nuts.NId searchLatestVersion(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter filter)
public net.thevpc.nuts.NDescriptor deploy(net.thevpc.nuts.spi.NDeployRepositoryCmd deployment,
net.thevpc.nuts.NConfirmationMode writeType)
protected net.thevpc.nuts.log.NLog _LOG()
public net.thevpc.nuts.io.NPath deployDescriptor(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDescriptor desc,
net.thevpc.nuts.NConfirmationMode writeType)
public boolean isDeployed(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDescriptor descriptor)
public net.thevpc.nuts.io.NPath deployContent(net.thevpc.nuts.NId id,
net.thevpc.nuts.io.NInputSource content,
net.thevpc.nuts.NDescriptor descriptor,
net.thevpc.nuts.NConfirmationMode writeType)
public boolean undeploy(net.thevpc.nuts.spi.NRepositoryUndeployCmd command)
public void reindexFolder()
Copyright © 2025 vpc open source initiative. All rights reserved.