public static enum Record.Type extends Enum<Record.Type>
Enum Constant and Description |
---|
ALL_GROUPS
Special record, containing all the Maven "groupId"s that are enlisted on the index.
|
ARTIFACT_ADD
Artifact ADD record.
|
ARTIFACT_REMOVE
Artifact REMOVE record.
|
DESCRIPTOR
Descriptor record.
|
ROOT_GROUPS
Special record, containing all the root groups of Maven "groupId"s that are enlisted on the index.
|
Modifier and Type | Method and Description |
---|---|
static Record.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Record.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Record.Type DESCRIPTOR
public static final Record.Type ARTIFACT_ADD
Record.REC_MODIFIED
(when record was added/modified on index)Record.GROUP_ID
Record.ARTIFACT_ID
Record.VERSION
Record.CLASSIFIER
(optional)Record.FILE_EXTENSION
Record.FILE_MODIFIED
Record.FILE_SIZE
Record.PACKAGING
Record.HAS_SOURCES
Record.HAS_JAVADOC
Record.HAS_SIGNATURE
Record.NAME
Record.DESCRIPTION
Record.SHA1
Record.CLASSNAMES
(optional)Record.PLUGIN_PREFIX
(optional, for maven-plugins only)Record.PLUGIN_GOALS
(optional, for maven-plugins only)public static final Record.Type ARTIFACT_REMOVE
Record.REC_MODIFIED
(when record was deleted from index)Record.GROUP_ID
Record.ARTIFACT_ID
Record.VERSION
Record.CLASSIFIER
(optional)Record.FILE_EXTENSION
(if Record.CLASSIFIER
present)Record.PACKAGING
(optional)public static final Record.Type ALL_GROUPS
public static final Record.Type ROOT_GROUPS
public static Record.Type[] values()
for (Record.Type c : Record.Type.values()) System.out.println(c);
public static Record.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.