| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | RepositoryGroupAdmin. getMergedIndexDirectory(String repositoryGroupId) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | DefaultRepositoryGroupAdmin. getMergedIndexDirectory(String repositoryGroupId) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | ArchivaIndexingContext. getPath()The path where the index is stored. | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | MavenIndexContext. getPath() | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | TemporaryGroupIndex. getDirectory() | 
| StorageAsset | IndexMergerRequest. getMergedIndexDirectory() | 
| Modifier and Type | Method and Description | 
|---|---|
| IndexMergerRequest | IndexMergerRequest. mergedIndexDirectory(StorageAsset mergedIndexDirectory) | 
| void | MergedRemoteIndexesScheduler. schedule(RepositoryGroup repositoryGroup,
        StorageAsset directory)will check if this repository group need to a schedule a cron to download/merge
 remote indexes | 
| TemporaryGroupIndex | TemporaryGroupIndex. setDirectory(StorageAsset directory) | 
| void | IndexMergerRequest. setMergedIndexDirectory(StorageAsset mergedIndexDirectory) | 
| Constructor and Description | 
|---|
| TemporaryGroupIndex(StorageAsset directory,
                   String indexId,
                   String groupId,
                   int mergedIndexTtl) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DefaultMergedRemoteIndexesScheduler. schedule(RepositoryGroup repositoryGroup,
        StorageAsset directory) | 
| Modifier and Type | Method and Description | 
|---|---|
| static ArchivaRepositoryMetadata | MavenMetadataReader. read(StorageAsset metadataFile) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace) | 
| StorageAsset | RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId) | 
| StorageAsset | RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId,
      String projectVersion) | 
| StorageAsset | RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId,
      String projectVersion,
      String filename) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace) | 
| StorageAsset | RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId) | 
| StorageAsset | RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId,
      String projectVersion) | 
| StorageAsset | RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId,
      String projectVersion,
      String filename) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | Maven2RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace) | 
| StorageAsset | Maven2RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId) | 
| StorageAsset | Maven2RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId,
      String projectVersion) | 
| StorageAsset | Maven2RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId,
      String projectVersion,
      String filename) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | Maven2RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace) | 
| StorageAsset | Maven2RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId) | 
| StorageAsset | Maven2RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId,
      String projectVersion) | 
| StorageAsset | Maven2RepositoryPathTranslator. toFile(StorageAsset basedir,
      String namespace,
      String projectId,
      String projectVersion,
      String filename) | 
| Constructor and Description | 
|---|
| RepositoryModelResolver(StorageAsset basedir,
                       RepositoryPathTranslator pathTranslator) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ChecksumPolicy. applyPolicy(PolicyOption policySetting,
           Properties request,
           StorageAsset localFile) | 
| void | DownloadPolicy. applyPolicy(PolicyOption policySetting,
           Properties request,
           StorageAsset localFile)Apply the download policy. | 
| void | CachedFailuresPolicy. applyPolicy(PolicyOption policySetting,
           Properties request,
           StorageAsset localFile) | 
| void | AbstractUpdatePolicy. applyPolicy(PolicyOption policySetting,
           Properties request,
           StorageAsset localFile) | 
| boolean | PropagateErrorsOnUpdateDownloadPolicy. applyPolicy(PolicyOption policySetting,
           Properties request,
           StorageAsset localFile,
           Exception exception,
           Map<String,Exception> previousExceptions) | 
| boolean | DownloadErrorPolicy. applyPolicy(PolicyOption policySetting,
           Properties request,
           StorageAsset localFile,
           Exception exception,
           Map<String,Exception> previousExceptions)Apply the download error policy. | 
| boolean | PropagateErrorsDownloadPolicy. applyPolicy(PolicyOption policySetting,
           Properties request,
           StorageAsset localFile,
           Exception exception,
           Map<String,Exception> previousExceptions) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | DefaultRepositoryProxyHandler. fetchFromProxies(ManagedRepository repository,
                ArtifactReference artifact) | 
| StorageAsset | DefaultRepositoryProxyHandler. fetchFromProxies(ManagedRepository repository,
                String path) | 
| protected StorageAsset | DefaultRepositoryProxyHandler. transferFile(ProxyConnector connector,
            RemoteRepository remoteRepository,
            String remotePath,
            ManagedRepository repository,
            StorageAsset resource,
            Properties requestProperties,
            boolean executeConsumers)Perform the transfer of the file. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected StorageAsset | DefaultRepositoryProxyHandler. transferFile(ProxyConnector connector,
            RemoteRepository remoteRepository,
            String remotePath,
            ManagedRepository repository,
            StorageAsset resource,
            Properties requestProperties,
            boolean executeConsumers)Perform the transfer of the file. | 
| protected abstract void | DefaultRepositoryProxyHandler. transferResources(ProxyConnector connector,
                 RemoteRepository remoteRepository,
                 StorageAsset tmpResource,
                 StorageAsset[] checksumFiles,
                 String url,
                 String remotePath,
                 StorageAsset resource,
                 Path workingDirectory,
                 ManagedRepository repository) | 
| protected abstract void | DefaultRepositoryProxyHandler. transferResources(ProxyConnector connector,
                 RemoteRepository remoteRepository,
                 StorageAsset tmpResource,
                 StorageAsset[] checksumFiles,
                 String url,
                 String remotePath,
                 StorageAsset resource,
                 Path workingDirectory,
                 ManagedRepository repository) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | MavenRepositoryProxyHandler. transferArtifact(org.apache.maven.wagon.Wagon wagon,
                RemoteRepository remoteRepository,
                String remotePath,
                ManagedRepository repository,
                Path resource,
                Path tmpDirectory,
                StorageAsset destFile) | 
| protected void | MavenRepositoryProxyHandler. transferResources(ProxyConnector connector,
                 RemoteRepository remoteRepository,
                 StorageAsset tmpResource,
                 StorageAsset[] checksumFiles,
                 String url,
                 String remotePath,
                 StorageAsset resource,
                 Path workingDirectory,
                 ManagedRepository repository) | 
| protected void | MavenRepositoryProxyHandler. transferResources(ProxyConnector connector,
                 RemoteRepository remoteRepository,
                 StorageAsset tmpResource,
                 StorageAsset[] checksumFiles,
                 String url,
                 String remotePath,
                 StorageAsset resource,
                 Path workingDirectory,
                 ManagedRepository repository) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | RepositoryProxyHandler. fetchFromProxies(ManagedRepository repository,
                ArtifactReference artifact)Performs the artifact fetch operation against the target repositories
 of the provided source repository. | 
| StorageAsset | RepositoryProxyHandler. fetchFromProxies(ManagedRepository managedRepository,
                String path)Performs the fetch operation against the target repositories
 of the provided source repository by a specific path. | 
| StorageAsset | ProxyFetchResult. getFile() | 
| Constructor and Description | 
|---|
| ProxyFetchResult(StorageAsset file,
                boolean modified) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | Repository. getLocalPath()Returns a storage representation to the local data stored for this repository. | 
| StorageAsset | ManagedRepositoryContent. toFile(ArchivaArtifact reference)Given an  ArchivaArtifact, return the file reference to the artifact. | 
| StorageAsset | ManagedRepositoryContent. toFile(ArtifactReference reference)Given an  ArtifactReference, return the file reference to the artifact. | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | AbstractRepository. addAsset(String path,
        boolean container) | 
| StorageAsset | AbstractRepository. copyAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions) | 
| StorageAsset | AbstractRepository. getAsset(String path) | 
| StorageAsset | AbstractRepository. getLocalPath() | 
| StorageAsset | AbstractRemoteRepository. getLocalPath()Remote repositories resolve always relative to the base directory. | 
| StorageAsset | AbstractRepository. moveAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractRepository. consumeData(StorageAsset asset,
           Consumer<InputStream> consumerFunction,
           boolean readLock) | 
| void | AbstractRepository. consumeDataFromChannel(StorageAsset asset,
                      Consumer<ReadableByteChannel> consumerFunction,
                      boolean readLock) | 
| void | AbstractRepository. copyAsset(StorageAsset origin,
         StorageAsset destination,
         CopyOption... copyOptions) | 
| StorageAsset | AbstractRepository. copyAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions) | 
| void | AbstractRepository. moveAsset(StorageAsset origin,
         StorageAsset destination,
         CopyOption... copyOptions) | 
| StorageAsset | AbstractRepository. moveAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions) | 
| void | AbstractRepository. removeAsset(StorageAsset asset) | 
| void | AbstractRepository. writeData(StorageAsset asset,
         Consumer<OutputStream> consumerFunction,
         boolean writeLock) | 
| void | AbstractRepository. writeDataToChannel(StorageAsset asset,
                  Consumer<WritableByteChannel> consumerFunction,
                  boolean writeLock) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | ArtifactUtil. getArtifactAsset(ManagedRepository repository,
                ArtifactReference artifactReference)Returns the physical location of a given artifact in the repository. | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | ManagedDefaultRepositoryContent. toFile(ArchivaArtifact reference) | 
| StorageAsset | ManagedDefaultRepositoryContent. toFile(ArtifactReference reference) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | IndexCreationFeature. getLocalIndexPath()Returns the path where the index is stored physically. | 
| StorageAsset | IndexCreationFeature. getLocalPackedIndexPath()Returns the directory where the packed index is stored. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | IndexCreationFeature. setLocalIndexPath(StorageAsset localIndexPath)Sets the path where the index is stored locally. | 
| void | IndexCreationFeature. setLocalPackedIndexPath(StorageAsset localPackedIndexPath)Sets the path where the packed index is stored physically. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | RepositoryMetadataWriter. write(ArchivaRepositoryMetadata metadata,
     StorageAsset outputFile) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | FilesystemAssetImplementation of an asset that is stored on the filesystem. | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | FilesystemStorage. addAsset(String path,
        boolean container) | 
| StorageAsset | RepositoryStorage. addAsset(String path,
        boolean container)Adds a new asset to the underlying storage. | 
| StorageAsset | FilesystemStorage. copyAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions) | 
| StorageAsset | RepositoryStorage. copyAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions)Copies the given asset to the new destination. | 
| StorageAsset | FilesystemStorage. getAsset(String path) | 
| StorageAsset | RepositoryStorage. getAsset(String path)Returns information about a specific storage asset. | 
| StorageAsset | FilesystemAsset. getParent() | 
| StorageAsset | StorageAsset. getParent()Returns the parent of this asset. | 
| StorageAsset | FilesystemStorage. moveAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions) | 
| StorageAsset | RepositoryStorage. moveAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions)Moves the asset to the given location and returns the asset object for the destination. | 
| StorageAsset | FilesystemAsset. resolve(String toPath) | 
| StorageAsset | StorageAsset. resolve(String toPath)Returns the asset relative to the given path | 
| Modifier and Type | Method and Description | 
|---|---|
| List<StorageAsset> | FilesystemAsset. list()Returns the list of directory entries, if this asset represents a directory. | 
| List<StorageAsset> | StorageAsset. list()List the child assets. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | FilesystemStorage. consumeData(StorageAsset asset,
           Consumer<InputStream> consumerFunction,
           boolean readLock) | 
| void | RepositoryStorage. consumeData(StorageAsset asset,
           Consumer<InputStream> consumerFunction,
           boolean readLock)Consumes the data and sets a lock for the file during the operation. | 
| void | FilesystemStorage. consumeDataFromChannel(StorageAsset asset,
                      Consumer<ReadableByteChannel> consumerFunction,
                      boolean readLock) | 
| void | RepositoryStorage. consumeDataFromChannel(StorageAsset asset,
                      Consumer<ReadableByteChannel> consumerFunction,
                      boolean readLock)Consumes the data and sets a lock for the file during the operation. | 
| static void | StorageUtil. copyAsset(StorageAsset source,
         StorageAsset target,
         boolean locked,
         CopyOption... copyOptions)Copies the source asset to the target. | 
| void | FilesystemStorage. copyAsset(StorageAsset origin,
         StorageAsset destination,
         CopyOption... copyOptions) | 
| void | RepositoryStorage. copyAsset(StorageAsset origin,
         StorageAsset destination,
         CopyOption... copyOptions)Copies the given asset to the new destination. | 
| StorageAsset | FilesystemStorage. copyAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions) | 
| StorageAsset | RepositoryStorage. copyAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions)Copies the given asset to the new destination. | 
| static void | StorageUtil. copyToLocalFile(StorageAsset asset,
               Path destination,
               CopyOption... copyOptions) | 
| static void | StorageUtil. deleteRecursively(StorageAsset baseDir)Deletes the given asset and all child assets recursively. | 
| static StorageUtil.PathInformation | StorageUtil. getAssetDataAsPath(StorageAsset asset) | 
| static String | StorageUtil. getExtension(StorageAsset asset)Returns the extension of the name of a given asset. | 
| static void | StorageUtil. moveAsset(StorageAsset source,
         StorageAsset target,
         boolean locked,
         CopyOption... copyOptions)Moves a asset between different storage instances. | 
| void | FilesystemStorage. moveAsset(StorageAsset origin,
         StorageAsset destination,
         CopyOption... copyOptions) | 
| void | RepositoryStorage. moveAsset(StorageAsset origin,
         StorageAsset destination,
         CopyOption... copyOptions)Moves the asset to the given location and returns the asset object for the destination. | 
| StorageAsset | FilesystemStorage. moveAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions) | 
| StorageAsset | RepositoryStorage. moveAsset(StorageAsset origin,
         String destination,
         CopyOption... copyOptions)Moves the asset to the given location and returns the asset object for the destination. | 
| static void | StorageUtil. recurse(StorageAsset baseAsset,
       Consumer<StorageAsset> consumer)Runs the consumer function recursively on each asset found starting at the base path. | 
| static void | StorageUtil. recurse(StorageAsset baseAsset,
       Consumer<StorageAsset> consumer,
       boolean depthFirst)Runs the consumer function recursively on each asset found starting at the base path. | 
| static void | StorageUtil. recurse(StorageAsset baseAsset,
       Consumer<StorageAsset> consumer,
       boolean depthFirst,
       int maxDepth)Runs the consumer function recursively on each asset found starting at the base path | 
| void | FilesystemStorage. removeAsset(StorageAsset asset) | 
| void | RepositoryStorage. removeAsset(StorageAsset asset)Removes the given asset from the storage. | 
| void | FilesystemStorage. writeData(StorageAsset asset,
         Consumer<OutputStream> consumerFunction,
         boolean writeLock) | 
| void | RepositoryStorage. writeData(StorageAsset asset,
         Consumer<OutputStream> consumerFunction,
         boolean writeLock)Writes data to the asset using a write lock. | 
| void | FilesystemStorage. writeDataToChannel(StorageAsset asset,
                  Consumer<WritableByteChannel> consumerFunction,
                  boolean writeLock) | 
| void | RepositoryStorage. writeDataToChannel(StorageAsset asset,
                  Consumer<WritableByteChannel> consumerFunction,
                  boolean writeLock)Writes data and sets a lock during the operation. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | StorageUtil. recurse(StorageAsset baseAsset,
       Consumer<StorageAsset> consumer)Runs the consumer function recursively on each asset found starting at the base path. | 
| static void | StorageUtil. recurse(StorageAsset baseAsset,
       Consumer<StorageAsset> consumer,
       boolean depthFirst)Runs the consumer function recursively on each asset found starting at the base path. | 
| static void | StorageUtil. recurse(StorageAsset baseAsset,
       Consumer<StorageAsset> consumer,
       boolean depthFirst,
       int maxDepth)Runs the consumer function recursively on each asset found starting at the base path | 
| Modifier and Type | Method and Description | 
|---|---|
| protected List<ArtifactContentEntry> | DefaultBrowseService. readFileEntries(StorageAsset file,
               String filterPath,
               String repoId) | 
| Modifier and Type | Method and Description | 
|---|---|
| StorageAsset | RepositoryTask. getResourceFile() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RepositoryTask. setResourceFile(StorageAsset resourceFile) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected StorageAsset | ArchivaDavResourceFactory. buildMergedIndexDirectory(String activePrincipal,
                         org.apache.jackrabbit.webdav.DavServletRequest request,
                         RepositoryGroup repositoryGroup) | 
| StorageAsset | ArchivaDavResource. getAsset() | 
| Constructor and Description | 
|---|
| ArchivaDavResource(StorageAsset localResource,
                  String logicalResource,
                  RepositoryStorage repositoryStorage,
                  org.apache.jackrabbit.webdav.DavSession session,
                  ArchivaDavResourceLocator locator,
                  org.apache.jackrabbit.webdav.DavResourceFactory factory,
                  MimeTypes mimeTypes,
                  List<AuditListener> auditListeners,
                  RepositoryArchivaTaskScheduler scheduler) | 
| ArchivaDavResource(StorageAsset localResource,
                  String logicalResource,
                  RepositoryStorage repositoryStorage,
                  String remoteAddr,
                  String principal,
                  org.apache.jackrabbit.webdav.DavSession session,
                  ArchivaDavResourceLocator locator,
                  org.apache.jackrabbit.webdav.DavResourceFactory factory,
                  MimeTypes mimeTypes,
                  List<AuditListener> auditListeners,
                  RepositoryArchivaTaskScheduler scheduler) | 
| Constructor and Description | 
|---|
| ArchivaVirtualDavResource(List<StorageAsset> localResources,
                         String logicalResource,
                         MimeTypes mimeTypes,
                         ArchivaDavResourceLocator locator,
                         org.apache.jackrabbit.webdav.DavResourceFactory factory) | 
| Constructor and Description | 
|---|
| IndexWriter(StorageAsset reference,
           String logicalResource) | 
| Constructor and Description | 
|---|
| IndexWriter(List<StorageAsset> localResources,
           String logicalResource) | 
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.