Skip navigation links
C D E G H I L O R S T 

C

CachingResourceHandler - Class in org.apache.maven.index.reader
A trivial caching ResourceHandler that caches forever during single session (existence of the instance).
CachingResourceHandler(WritableResourceHandler, ResourceHandler) - Constructor for class org.apache.maven.index.reader.CachingResourceHandler
 
central() - Method in class org.apache.maven.index.reader.IndexReaderTest
This UT is here for demonstration purposes only.
ChunkReaderTest - Class in org.apache.maven.index.reader
ChunkReaderTest() - Constructor for class org.apache.maven.index.reader.ChunkReaderTest
 
cleanup() - Method in class org.apache.maven.index.reader.TestSupport
Closes all the registered resources handlers and deletes the temp directory.
close() - Method in class org.apache.maven.index.reader.CachingResourceHandler
 
close() - Method in class org.apache.maven.index.reader.DirectoryResourceHandler
 
close() - Method in class org.apache.maven.index.reader.HttpResourceHandler
 
compactFunction - Static variable in class org.apache.maven.index.reader.TestUtils
 
countRecordsByType(ChunkReader) - Method in class org.apache.maven.index.reader.TestSupport
Consumes ChunkReader and creates a map "by type" with record type counts.
createTempDirectory() - Method in class org.apache.maven.index.reader.TestSupport
Creates a temp directory within TestSupport.tempDir.
createTempFile(String) - Method in class org.apache.maven.index.reader.TestSupport
Creates a temp file within TestSupport.tempDir with given name.
createWritableResourceHandler() - Method in class org.apache.maven.index.reader.TestSupport
Creates an empty DirectoryResourceHandler.

D

decorate(Iterable<Record>, String) - Static method in class org.apache.maven.index.reader.TestUtils
Helper method, that "decorates" the stream of records to be written out with "special" Maven Indexer records, so all the caller is needed to provide Iterable or Records to be on the index, with record type Record.Type.ARTIFACT_ADD.
decorateAndTransform() - Method in class org.apache.maven.index.reader.TransformTest
 
DirectoryResourceHandler - Class in org.apache.maven.index.reader
A trivial File directory handler that does not perform any locking or extra bits, and just serves up files by name from specified existing directory.
DirectoryResourceHandler(File) - Constructor for class org.apache.maven.index.reader.DirectoryResourceHandler
 

E

expandFunction - Static variable in class org.apache.maven.index.reader.TestUtils
 

G

getRootDirectory() - Method in class org.apache.maven.index.reader.DirectoryResourceHandler
 

H

HttpResourceHandler - Class in org.apache.maven.index.reader
A trivial HTTP ResourceHandler that uses URL to fetch remote content.
HttpResourceHandler(URL) - Constructor for class org.apache.maven.index.reader.HttpResourceHandler
 

I

IndexReaderTest - Class in org.apache.maven.index.reader
IndexReaderTest() - Constructor for class org.apache.maven.index.reader.IndexReaderTest
 
IndexWriterTest - Class in org.apache.maven.index.reader
IndexWriterTest() - Constructor for class org.apache.maven.index.reader.IndexWriterTest
 

L

loadRecordsByType(ChunkReader) - Method in class org.apache.maven.index.reader.TestSupport
Consumes ChunkReader and creates a map "by type" with records.
locate(String) - Method in class org.apache.maven.index.reader.CachingResourceHandler
 
locate(String) - Method in class org.apache.maven.index.reader.DirectoryResourceHandler
 
locate(String) - Method in class org.apache.maven.index.reader.HttpResourceHandler
 

O

org.apache.maven.index.reader - package org.apache.maven.index.reader
 

R

roundtrip() - Method in class org.apache.maven.index.reader.ChunkReaderTest
 
roundtrip() - Method in class org.apache.maven.index.reader.IndexReaderTest
 
roundtrip() - Method in class org.apache.maven.index.reader.IndexWriterTest
 

S

setup() - Method in class org.apache.maven.index.reader.TestSupport
Creates the temp directory and list for resource handlers.
simple() - Method in class org.apache.maven.index.reader.ChunkReaderTest
 
simple() - Method in class org.apache.maven.index.reader.IndexReaderTest
 
simpleWithLocal() - Method in class org.apache.maven.index.reader.IndexReaderTest
 

T

testName - Variable in class org.apache.maven.index.reader.TestSupport
 
testResourceHandler(String) - Method in class org.apache.maven.index.reader.TestSupport
Creates a "test" ResourceHandler that contains predefined files, is mapped to test resources under given name.
TestSupport - Class in org.apache.maven.index.reader
Test support.
TestSupport() - Constructor for class org.apache.maven.index.reader.TestSupport
 
TestUtils - Class in org.apache.maven.index.reader
Helpers to transform records from one to another representation, and, some helpers for publishing using Guava.
TransformTest - Class in org.apache.maven.index.reader
UT for RecordCompactor and .
TransformTest() - Constructor for class org.apache.maven.index.reader.TransformTest
 
C D E G H I L O R S T 
Skip navigation links

Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.