Package | Description |
---|---|
org.apache.maven.index.reader |
Modifier and Type | Field and Description |
---|---|
static Record.EntryKey<java.lang.String[]> |
Record.ALL_GROUPS
Key of all groups list entry, that contains
java.util.List . |
static Record.EntryKey<java.lang.String> |
Record.ARTIFACT_ID
Key of artifact artifactId entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.CLASSIFIER
Key of artifact classifier entry, that contains
String . |
static Record.EntryKey<java.lang.String[]> |
Record.CLASSNAMES
Key of artifact contained class names, that contains
java.util.List . |
static Record.EntryKey<java.lang.String> |
Record.DESCRIPTION
Key of artifact description (as set in POM), that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.FILE_EXTENSION
Key of artifact file extension, that contains
String . |
static Record.EntryKey<java.lang.Long> |
Record.FILE_MODIFIED
Key of artifact file last modified timestamp, that contains
Long . |
static Record.EntryKey<java.lang.Long> |
Record.FILE_SIZE
Key of artifact file size in bytes, that contains
Long . |
static Record.EntryKey<java.lang.String> |
Record.GROUP_ID
Key of artifact groupId entry, that contains
String . |
static Record.EntryKey<java.lang.Boolean> |
Record.HAS_JAVADOC
Key of artifact Javadoc presence flag, that contains
Boolean . |
static Record.EntryKey<java.lang.Boolean> |
Record.HAS_SIGNATURE
Key of artifact signature presence flag, that contains
Boolean . |
static Record.EntryKey<java.lang.Boolean> |
Record.HAS_SOURCES
Key of artifact Sources presence flag, that contains
Boolean . |
static Record.EntryKey<java.lang.String> |
Record.NAME
Key of artifact name (as set in POM), that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.OSGI_BUNDLE_DESCRIPTION
Key of OSGi "Bundle-Description" manifest entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.OSGI_BUNDLE_LICENSE
Key of OSGi "Bundle-License" manifest entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.OSGI_BUNDLE_NAME
Key of OSGi "Bundle-Name" manifest entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.OSGI_BUNDLE_SYMBOLIC_NAME
Key of OSGi "Bundle-SymbolicName" manifest entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.OSGI_BUNDLE_VERSION
Key of OSGi "Bundle-Version" manifest entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.OSGI_EXPORT_DOCURL
Key of OSGi "Bundle-DocURL" manifest entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.OSGI_EXPORT_PACKAGE
Key of OSGi "Export-Package" manifest entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.OSGI_EXPORT_SERVICE
Key of OSGi "Export-Service" manifest entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.OSGI_IMPORT_PACKAGE
Key of OSGi "Import-Package" manifest entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.OSGI_REQUIRE_BUNDLE
Key of OSGi "Require-Bundle" manifest entry, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.PACKAGING
Key of artifact packaging entry, that contains
String . |
static Record.EntryKey<java.lang.String[]> |
Record.PLUGIN_GOALS
Key of plugin artifact goals, that contains
java.util.List . |
static Record.EntryKey<java.lang.String> |
Record.PLUGIN_PREFIX
Key of plugin artifact prefix, that contains
String . |
static Record.EntryKey<java.lang.Long> |
Record.REC_MODIFIED
Key of index record modification (added to index or removed from index) timestamp entry, that contains
Long . |
static Record.EntryKey<java.lang.String> |
Record.REPOSITORY_ID
Key of repository ID entry, that contains
String . |
static Record.EntryKey<java.lang.String[]> |
Record.ROOT_GROUPS
Key of root groups list entry, that contains
java.util.List . |
static Record.EntryKey<java.lang.String> |
Record.SHA1
Key of artifact SHA1 digest, that contains
String . |
static Record.EntryKey<java.lang.String> |
Record.VERSION
Key of artifact version entry, that contains
String . |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Record.EntryKey,java.lang.Object> |
Record.expanded |
Modifier and Type | Method and Description |
---|---|
java.util.Map<Record.EntryKey,java.lang.Object> |
Record.getExpanded()
Returns the expanded (processed and expanded synthetic fields) record as
Map ready for consumption. |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
Record.containsKey(Record.EntryKey<?> entryKey)
Returns
true if this record contains given Record.EntryKey . |
<T> T |
Record.get(Record.EntryKey<T> entryKey)
Type safe handy method to get value from expanded map.
|
<T> T |
Record.put(Record.EntryKey<T> entryKey,
T value)
Type safe handy method to put value to expanded map.
|
private static void |
RecordExpander.putIfNotNull(java.util.Map<java.lang.String,java.lang.String> source,
java.lang.String sourceName,
Record target,
Record.EntryKey targetName)
Helper to put a value from source map into target map, if not null.
|
private static void |
RecordExpander.putIfNotNullAsStringArray(java.util.Map<java.lang.String,java.lang.String> source,
java.lang.String sourceName,
Record target,
Record.EntryKey targetName)
Helper to put a collection value from source map into target map as
List , if not null. |
private static void |
RecordExpander.putIfNotNullTS(java.util.Map<java.lang.String,java.lang.String> source,
java.lang.String sourceName,
Record target,
Record.EntryKey targetName)
Helper to put a
Long value from source map into target map, if not null. |
Constructor and Description |
---|
Record(Record.Type type,
java.util.Map<Record.EntryKey,java.lang.Object> expanded) |