Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ALL_GROUPS - Enum constant in enum org.apache.maven.index.reader.Record.Type
-
Special record, containing all the Maven "groupId"s that are enlisted on the index.
- ALL_GROUPS - Static variable in class org.apache.maven.index.reader.Record
- allGroups(Collection<String>) - Static method in class org.apache.maven.index.reader.Utils
-
Creates a record of type
Record.Type.ALL_GROUPS
. - apply(Map<String, String>) - Method in class org.apache.maven.index.reader.RecordExpander
-
Expands MI low level record into
Record
. - apply(Record) - Method in class org.apache.maven.index.reader.RecordCompactor
-
Compacts
Record
into low level MI record with all the encoded fields as physically present in MI binary chunk. - ARTIFACT_ADD - Enum constant in enum org.apache.maven.index.reader.Record.Type
-
Artifact ADD record.
- ARTIFACT_ID - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact artifactId entry, that contains
String
. - ARTIFACT_REMOVE - Enum constant in enum org.apache.maven.index.reader.Record.Type
-
Artifact REMOVE record.
B
- BufferedResource - Class in org.apache.maven.index.reader.resource
-
Wraps
ResourceHandler.Resource
s so that they returnBufferedInputStream
s. - BufferedResource(ResourceHandler.Resource) - Constructor for class org.apache.maven.index.reader.resource.BufferedResource
- BufferedResourceHandler - Class in org.apache.maven.index.reader.resource
-
Wraps
ResourceHandler
s so that they returnResourceHandler.Resource
s that returnBufferedInputStream
s. - BufferedResourceHandler(ResourceHandler) - Constructor for class org.apache.maven.index.reader.resource.BufferedResourceHandler
- BufferedWritableResource - Class in org.apache.maven.index.reader.resource
-
Wraps
WritableResourceHandler.WritableResource
s so that they returnBufferedInputStream
s andBufferedOutputStream
s. - BufferedWritableResource(WritableResourceHandler.WritableResource) - Constructor for class org.apache.maven.index.reader.resource.BufferedWritableResource
- BufferedWritableResourceHandler - Class in org.apache.maven.index.reader.resource
-
Wraps
WritableResourceHandler
s so that they returnWritableResourceHandler.WritableResource
s that returnBufferedInputStream
s andBufferedOutputStream
s. - BufferedWritableResourceHandler(WritableResourceHandler) - Constructor for class org.apache.maven.index.reader.resource.BufferedWritableResourceHandler
C
- ChunkReader - Class in org.apache.maven.index.reader
-
Maven Index published binary chunk reader, it reads raw Maven Indexer records from the transport binary format.
- ChunkReader(String, InputStream) - Constructor for class org.apache.maven.index.reader.ChunkReader
- ChunkWriter - Class in org.apache.maven.index.reader
-
Maven Index published binary chunk writer, it writes raw Maven Indexer records to the transport binary format.
- ChunkWriter(String, OutputStream, int, Date) - Constructor for class org.apache.maven.index.reader.ChunkWriter
- CLASSIFIER - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact classifier entry, that contains
String
. - CLASSNAMES - Static variable in class org.apache.maven.index.reader.Record
- close() - Method in class org.apache.maven.index.reader.ChunkReader
-
Closes this reader and it's underlying input.
- close() - Method in class org.apache.maven.index.reader.ChunkWriter
-
Closes this reader and it's underlying input.
- close() - Method in class org.apache.maven.index.reader.IndexReader
-
Closes the underlying
ResourceHandler
s. - close() - Method in class org.apache.maven.index.reader.IndexWriter
-
Closes the underlying
ResourceHandler
and synchronizes published index properties, so remote clients becomes able to consume newly published index. - close() - Method in class org.apache.maven.index.reader.resource.BufferedResource
- close() - Method in class org.apache.maven.index.reader.resource.BufferedResourceHandler
- close() - Method in class org.apache.maven.index.reader.resource.BufferedWritableResource
- close() - Method in class org.apache.maven.index.reader.resource.BufferedWritableResourceHandler
- close() - Method in class org.apache.maven.index.reader.resource.PathWritableResource
- close() - Method in interface org.apache.maven.index.reader.ResourceHandler
-
Default close method is no-op, override if implementation requires.
- close() - Method in interface org.apache.maven.index.reader.ResourceHandler.Resource
-
Default close method is no-op, override if implementation requires.
D
- DESCRIPTION - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact description (as set in POM), that contains
String
. - descriptor(String) - Static method in class org.apache.maven.index.reader.Utils
-
Creates a record of type
Record.Type.DESCRIPTOR
. - DESCRIPTOR - Enum constant in enum org.apache.maven.index.reader.Record.Type
-
Descriptor record.
E
- EntryKey(String, Class<?>) - Constructor for class org.apache.maven.index.reader.Record.EntryKey
- equals(Object) - Method in class org.apache.maven.index.reader.Record.EntryKey
F
- FIELD_SEPARATOR - Static variable in class org.apache.maven.index.reader.Utils
- FILE_EXTENSION - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact file extension, that contains
String
. - FILE_MODIFIED - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact file last modified timestamp, that contains
Long
. - FILE_SIZE - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact file size in bytes, that contains
Long
. - FS_PATTERN - Static variable in class org.apache.maven.index.reader.Utils
G
- get(Record.EntryKey) - Method in class org.apache.maven.index.reader.Record
-
Type safe handy method to get value from expanded map.
- getBoolean(Record.EntryKey) - Method in class org.apache.maven.index.reader.Record
-
Type safe handy method to get Boolean value from expanded map.
- getChainId() - Method in class org.apache.maven.index.reader.IndexWriter
-
Returns the chain id of published index.
- getChunkNames() - Method in class org.apache.maven.index.reader.IndexReader
-
Returns unmodifiable list of actual chunks that needs to be pulled from remote
ResourceHandler
. - getExpanded() - Method in class org.apache.maven.index.reader.Record
-
Returns the expanded (processed and expanded synthetic fields) record as
Map
ready for consumption. - getIndexId() - Method in class org.apache.maven.index.reader.IndexReader
-
Returns the index context ID that published index has set.
- getIndexId() - Method in class org.apache.maven.index.reader.IndexWriter
-
Returns the index context ID that published index has set.
- getLong(Record.EntryKey) - Method in class org.apache.maven.index.reader.Record
-
Type safe handy method to get Long value from expanded map.
- getName() - Method in class org.apache.maven.index.reader.ChunkReader
-
Returns the chunk name.
- getName() - Method in class org.apache.maven.index.reader.ChunkWriter
-
Returns the chunk name.
- getName() - Method in class org.apache.maven.index.reader.Record.EntryKey
- getNextChunkName() - Method in class org.apache.maven.index.reader.IndexWriter
-
Returns the next chunk name about to be published.
- getProto() - Method in class org.apache.maven.index.reader.Record.EntryKey
- getPublishedTimestamp() - Method in class org.apache.maven.index.reader.IndexReader
-
Returns the
Date
when remote index was last published. - getPublishedTimestamp() - Method in class org.apache.maven.index.reader.IndexWriter
-
Returns the
Date
when index was last published ornull
if this is first publishing. - getString(Record.EntryKey) - Method in class org.apache.maven.index.reader.Record
-
Type safe handy method to get string value from expanded map.
- getStringArray(Record.EntryKey) - Method in class org.apache.maven.index.reader.Record
-
Type safe handy method to get String[] value from expanded map.
- getTimestamp() - Method in class org.apache.maven.index.reader.ChunkReader
-
Returns the index timestamp of last update of the index.
- getTimestamp() - Method in class org.apache.maven.index.reader.ChunkWriter
-
Returns the index timestamp of last update of the index.
- getType() - Method in class org.apache.maven.index.reader.Record
-
Returns the
Record.Type
of this record. - getVersion() - Method in class org.apache.maven.index.reader.ChunkReader
-
Returns index version.
- getVersion() - Method in class org.apache.maven.index.reader.ChunkWriter
-
Returns index version.
- GROUP_ID - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact groupId entry, that contains
String
.
H
- HAS_JAVADOC - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact Javadoc presence flag, that contains
Boolean
. - HAS_SIGNATURE - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact signature presence flag, that contains
Boolean
. - HAS_SOURCES - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact Sources presence flag, that contains
Boolean
. - hashCode() - Method in class org.apache.maven.index.reader.Record.EntryKey
I
- INDEX_DATE_FORMAT - Static variable in class org.apache.maven.index.reader.Utils
- INDEX_FILE_PREFIX - Static variable in class org.apache.maven.index.reader.Utils
- IndexReader - Class in org.apache.maven.index.reader
-
Maven Index reader that handles incremental updates, if possible, and provides one or more
ChunkReader
s, to read all the required records. - IndexReader(WritableResourceHandler, ResourceHandler) - Constructor for class org.apache.maven.index.reader.IndexReader
- IndexWriter - Class in org.apache.maven.index.reader
-
Maven Index writer that writes chunk and maintains published property file.
- IndexWriter(WritableResourceHandler, String, boolean) - Constructor for class org.apache.maven.index.reader.IndexWriter
- INFO - Static variable in class org.apache.maven.index.reader.Utils
- isIncremental() - Method in class org.apache.maven.index.reader.IndexReader
-
Returns
true
if incremental update is about to happen. - isIncremental() - Method in class org.apache.maven.index.reader.IndexWriter
-
Returns
true
if incremental publish is about to happen. - iterator() - Method in class org.apache.maven.index.reader.ChunkReader
-
Returns the
Record
iterator. - iterator() - Method in class org.apache.maven.index.reader.IndexReader
-
Returns an
Iterator
ofChunkReader
s, that if read in sequence, provide all the (incremental) updates from the index.
L
- loadProperties(ResourceHandler.Resource) - Static method in class org.apache.maven.index.reader.Utils
-
Creates and loads
Properties
from providedResourceHandler.Resource
if exists, and closes the resource. - locate(String) - Method in class org.apache.maven.index.reader.resource.BufferedResourceHandler
- locate(String) - Method in class org.apache.maven.index.reader.resource.BufferedWritableResourceHandler
- locate(String) - Method in class org.apache.maven.index.reader.resource.PathWritableResourceHandler
- locate(String) - Method in class org.apache.maven.index.reader.resource.UriResourceHandler
- locate(String) - Method in interface org.apache.maven.index.reader.ResourceHandler
- locate(String) - Method in interface org.apache.maven.index.reader.WritableResourceHandler
-
Returns the
WritableResourceHandler.WritableResource
withname
.
N
- NAME - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact name (as set in POM), that contains
String
. - NOT_AVAILABLE - Static variable in class org.apache.maven.index.reader.Utils
- nvl(String) - Static method in class org.apache.maven.index.reader.Utils
-
Helper to translate
null
into "NA" (not available) value.
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
- OSGI_BREE - Static variable in class org.apache.maven.index.reader.Record
-
Key of deprecated OSGi "Bundle-RequiredExecutionEnvironment" manifest entry, that contains
String
. - OSGI_BUNDLE_DESCRIPTION - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Bundle-Description" manifest entry, that contains
String
. - OSGI_BUNDLE_LICENSE - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Bundle-License" manifest entry, that contains
String
. - OSGI_BUNDLE_NAME - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Bundle-Name" manifest entry, that contains
String
. - OSGI_BUNDLE_SYMBOLIC_NAME - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Bundle-SymbolicName" manifest entry, that contains
String
. - OSGI_BUNDLE_VERSION - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Bundle-Version" manifest entry, that contains
String
. - OSGI_EXPORT_DOCURL - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Bundle-DocURL" manifest entry, that contains
String
. - OSGI_EXPORT_PACKAGE - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Export-Package" manifest entry, that contains
String
. - OSGI_EXPORT_SERVICE - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Export-Service" manifest entry, that contains
String
. - OSGI_FRAGMENT_HOST - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Fragment-Host" manifest entry, that contains
String
. - OSGI_IMPORT_PACKAGE - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Import-Package" manifest entry, that contains
String
. - OSGI_PROVIDE_CAPABILITY - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Provide-Capability" manifest entry, that contains
String
. - OSGI_REQUIRE_BUNDLE - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Require-Bundle" manifest entry, that contains
String
. - OSGI_REQUIRE_CAPABILITY - Static variable in class org.apache.maven.index.reader.Record
-
Key of OSGi "Require-Capability" manifest entry, that contains
String
.
P
- PACKAGING - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact packaging entry, that contains
String
. - PathWritableResource - Class in org.apache.maven.index.reader.resource
-
A
WritableResourceHandler.WritableResource
that represents aPath
. - PathWritableResource(Path) - Constructor for class org.apache.maven.index.reader.resource.PathWritableResource
- PathWritableResourceHandler - Class in org.apache.maven.index.reader.resource
-
A
WritableResourceHandler
that represents the base of aPath
hierarchy. - PathWritableResourceHandler(Path) - Constructor for class org.apache.maven.index.reader.resource.PathWritableResourceHandler
- PLUGIN_GOALS - Static variable in class org.apache.maven.index.reader.Record
- PLUGIN_PREFIX - Static variable in class org.apache.maven.index.reader.Record
-
Key of plugin artifact prefix, that contains
String
. - put(Record.EntryKey, Object) - Method in class org.apache.maven.index.reader.Record
-
Type safe handy method to put value to expanded map.
R
- read() - Method in class org.apache.maven.index.reader.resource.BufferedResource
- read() - Method in class org.apache.maven.index.reader.resource.PathWritableResource
- read() - Method in class org.apache.maven.index.reader.resource.UrlResource
- read() - Method in interface org.apache.maven.index.reader.ResourceHandler.Resource
-
Returns the
InputStream
stream of the resource, if exists,null
otherwise. - REC_MODIFIED - Static variable in class org.apache.maven.index.reader.Record
-
Key of index record modification (added to index or removed from index) timestamp entry, that contains
Long
. - Record - Class in org.apache.maven.index.reader
-
Maven Index record.
- Record(Record.Type, Map<Record.EntryKey, Object>) - Constructor for class org.apache.maven.index.reader.Record
- Record.EntryKey - Class in org.apache.maven.index.reader
-
Entry key is field key with some metadata.
- Record.Type - Enum in org.apache.maven.index.reader
-
Types of returned records returned from index.
- RecordCompactor - Class in org.apache.maven.index.reader
-
Maven Index record transformer, that transforms
Record
s into "native" Maven Indexer records. - RecordCompactor() - Constructor for class org.apache.maven.index.reader.RecordCompactor
- RecordExpander - Class in org.apache.maven.index.reader
-
Maven Index record transformer, that transforms "native" Maven Indexer records into
Record
s. - RecordExpander() - Constructor for class org.apache.maven.index.reader.RecordExpander
- renvl(String) - Static method in class org.apache.maven.index.reader.Utils
-
Helper to translate the "NA" (not available) input into
null
value. - REPOSITORY_ID - Static variable in class org.apache.maven.index.reader.Record
-
Key of repository ID entry, that contains
String
. - ResourceHandler - Interface in org.apache.maven.index.reader
-
Maven Index resource abstraction, that should be handled as a resource (is
Closeable
. - ResourceHandler.Resource - Interface in org.apache.maven.index.reader
-
Handle of content.
- ROOT_GROUPS - Enum constant in enum org.apache.maven.index.reader.Record.Type
-
Special record, containing all the root groups of Maven "groupId"s that are enlisted on the index.
- ROOT_GROUPS - Static variable in class org.apache.maven.index.reader.Record
- rootGroup(String) - Static method in class org.apache.maven.index.reader.Utils
-
Returns the "root group" of given groupId.
- rootGroups(Collection<String>) - Static method in class org.apache.maven.index.reader.Utils
-
Creates a record of type
Record.Type.ROOT_GROUPS
.
S
- SHA_256 - Static variable in class org.apache.maven.index.reader.Record
-
Key for SHA-256 checksum needed for OSGI content capability that contains
String
. - SHA1 - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact SHA1 digest, that contains
String
. - storeProperties(WritableResourceHandler.WritableResource, Properties) - Static method in class org.apache.maven.index.reader.Utils
-
Saves
Properties
to providedWritableResourceHandler.WritableResource
and closes the resource.
T
- toString() - Method in class org.apache.maven.index.reader.Record.EntryKey
- toString() - Method in class org.apache.maven.index.reader.Record
U
- UINFO - Static variable in class org.apache.maven.index.reader.Utils
- UriResourceHandler - Class in org.apache.maven.index.reader.resource
-
A
ResourceHandler
that represents the base of aURI
hierarchy. - UriResourceHandler(URI) - Constructor for class org.apache.maven.index.reader.resource.UriResourceHandler
- UrlResource - Class in org.apache.maven.index.reader.resource
-
A
ResourceHandler.Resource
that represents aURL
. - UrlResource(URL) - Constructor for class org.apache.maven.index.reader.resource.UrlResource
- Utils - Class in org.apache.maven.index.reader
-
Reusable code snippets and constants.
V
- valueOf(String) - Static method in enum org.apache.maven.index.reader.Record.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.maven.index.reader.Record.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERSION - Static variable in class org.apache.maven.index.reader.Record
-
Key of artifact version entry, that contains
String
.
W
- WritableResourceHandler - Interface in org.apache.maven.index.reader
-
Maven Index writable
ResourceHandler
, is capable of saving resources too. - WritableResourceHandler.WritableResource - Interface in org.apache.maven.index.reader
-
Resource that is writable.
- write() - Method in class org.apache.maven.index.reader.resource.BufferedWritableResource
- write() - Method in class org.apache.maven.index.reader.resource.PathWritableResource
- write() - Method in interface org.apache.maven.index.reader.WritableResourceHandler.WritableResource
-
Returns the
OutputStream
stream of the resource, if exists, it will replace the existing content, or if not exists, the resource will be created. - writeChunk(Iterator<Map<String, String>>) - Method in class org.apache.maven.index.reader.ChunkWriter
-
Writes out the record iterator and returns the written record count.
- writeChunk(Iterator<Map<String, String>>) - Method in class org.apache.maven.index.reader.IndexWriter
-
Writes out the record iterator and returns the written record count.
All Classes and Interfaces|All Packages|Constant Field Values