public interface DirectContentAccess
ContentManager (which decorates its content accesses).
Created by jdcasey on 5/2/16.| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(org.commonjava.indy.model.core.ArtifactStore store,
String path) |
org.commonjava.maven.galley.model.Transfer |
getTransfer(org.commonjava.indy.model.core.ArtifactStore store,
String path)
Retrieve a
Transfer object suitable for use in the specified operation. |
org.commonjava.maven.galley.model.Transfer |
getTransfer(org.commonjava.indy.model.core.StoreKey storeKey,
String path)
Retrieve a
Transfer object suitable for use in the specified operation. |
Map<String,List<StoreResource>> |
listRaw(org.commonjava.indy.model.core.ArtifactStore store,
List<String> parentPathList) |
List<StoreResource> |
listRaw(org.commonjava.indy.model.core.ArtifactStore store,
String parentPath) |
List<org.commonjava.maven.galley.model.Transfer> |
retrieveAllRaw(List<? extends org.commonjava.indy.model.core.ArtifactStore> stores,
String path,
org.commonjava.maven.galley.event.EventMetadata eventMetadata)
Mainly useful for content generators, this provides a mechanism for bypassing the content generation aspects
of the content manager and access whatever concrete content there is.
|
org.commonjava.maven.galley.model.Transfer |
retrieveRaw(org.commonjava.indy.model.core.ArtifactStore store,
String path,
org.commonjava.maven.galley.event.EventMetadata eventMetadata)
Mainly useful for content generators, this provides a mechanism for bypassing the content generation aspects
of the content manager and access whatever concrete content there is.
|
org.commonjava.maven.galley.model.Transfer retrieveRaw(org.commonjava.indy.model.core.ArtifactStore store,
String path,
org.commonjava.maven.galley.event.EventMetadata eventMetadata)
throws IndyWorkflowException
Group
to retrieve content from its members; instead, it's up to the caller to detect this scenario and call
retrieveAllRaw(List, String, EventMetadata) instead.IndyWorkflowExceptionList<org.commonjava.maven.galley.model.Transfer> retrieveAllRaw(List<? extends org.commonjava.indy.model.core.ArtifactStore> stores, String path, org.commonjava.maven.galley.event.EventMetadata eventMetadata) throws IndyWorkflowException
IndyWorkflowExceptionorg.commonjava.maven.galley.model.Transfer getTransfer(org.commonjava.indy.model.core.ArtifactStore store,
String path)
throws IndyWorkflowException
Transfer object suitable for use in the specified operation.store - The store in which the Transfer should residepath - The path of the Transfer inside the storeIndyWorkflowExceptionorg.commonjava.maven.galley.model.Transfer getTransfer(org.commonjava.indy.model.core.StoreKey storeKey,
String path)
throws IndyWorkflowException
Transfer object suitable for use in the specified operation. This method handles the selection logic in the event the store
is a Group, and doesn't fire any events (the returned Transfer object handles that in this case).storeKey - The key to the store in which the Transfer should residepath - The path of the Transfer inside the storeIndyWorkflowException - in case no suitable storage location can be foundboolean exists(org.commonjava.indy.model.core.ArtifactStore store,
String path)
throws IndyWorkflowException
IndyWorkflowExceptionList<StoreResource> listRaw(org.commonjava.indy.model.core.ArtifactStore store, String parentPath) throws IndyWorkflowException
IndyWorkflowExceptionMap<String,List<StoreResource>> listRaw(org.commonjava.indy.model.core.ArtifactStore store, List<String> parentPathList) throws IndyWorkflowException
IndyWorkflowExceptionCopyright © 2011-2018-2018. All Rights Reserved.