Index
All Classes and Interfaces|All Packages
B
- BufferedResourceHandlerTest - Class in org.apache.maven.index.reader.resource
- BufferedResourceHandlerTest() - Constructor for class org.apache.maven.index.reader.resource.BufferedResourceHandlerTest
- BufferedWritableResourceHandlerTest - Class in org.apache.maven.index.reader.resource
- BufferedWritableResourceHandlerTest() - Constructor for class org.apache.maven.index.reader.resource.BufferedWritableResourceHandlerTest
- BufferedWritableResourceTest - Class in org.apache.maven.index.reader.resource
- BufferedWritableResourceTest() - Constructor for class org.apache.maven.index.reader.resource.BufferedWritableResourceTest
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
-
UT for
ChunkReader
- 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
- close() - Method in class org.apache.maven.index.reader.resource.BufferedResourceHandlerTest
- close() - Method in class org.apache.maven.index.reader.resource.BufferedWritableResourceHandlerTest
- close() - Method in class org.apache.maven.index.reader.resource.BufferedWritableResourceTest
- 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
orRecord
s to be on the index, with record typeRecord.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
F
- folder - Variable in class org.apache.maven.index.reader.resource.PathWritableResourceHandlerTest
- folder - Variable in class org.apache.maven.index.reader.resource.UriResourceHandlerTest
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 usesURL
to fetch remote content. - HttpResourceHandler(URL) - Constructor for class org.apache.maven.index.reader.HttpResourceHandler
I
- IndexReaderTest - Class in org.apache.maven.index.reader
-
UT for
IndexReader
- IndexReaderTest() - Constructor for class org.apache.maven.index.reader.IndexReaderTest
- IndexWriterTest - Class in org.apache.maven.index.reader
-
UT for
IndexWriter
- 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() - Method in class org.apache.maven.index.reader.resource.BufferedResourceHandlerTest
- locate() - Method in class org.apache.maven.index.reader.resource.BufferedWritableResourceHandlerTest
- locate() - Method in class org.apache.maven.index.reader.resource.PathWritableResourceHandlerTest
- locate() - Method in class org.apache.maven.index.reader.resource.UriResourceHandlerTest
- 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
- locateNull() - Method in class org.apache.maven.index.reader.resource.BufferedResourceHandlerTest
O
- org.apache.maven.index.reader - package org.apache.maven.index.reader
- org.apache.maven.index.reader.resource - package org.apache.maven.index.reader.resource
P
- PathWritableResourceHandlerTest - Class in org.apache.maven.index.reader.resource
- PathWritableResourceHandlerTest() - Constructor for class org.apache.maven.index.reader.resource.PathWritableResourceHandlerTest
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
U
- UriResourceHandlerTest - Class in org.apache.maven.index.reader.resource
- UriResourceHandlerTest() - Constructor for class org.apache.maven.index.reader.resource.UriResourceHandlerTest
All Classes and Interfaces|All Packages