public class ArtifactInfo extends ArtifactInfoRecord
Modifier and Type | Field and Description |
---|---|
static String |
ALL_GROUPS |
static String |
ALL_GROUPS_LIST |
static String |
ALL_GROUPS_VALUE |
static String |
ARTIFACT_ID
ArtifactId.
|
String |
artifactId |
static String |
BUNDLE_EXPORT_PACKAGE |
static String |
BUNDLE_SYMBOLIC_NAME |
static String |
BUNDLE_VERSION |
String |
bundleDescription
contains osgi metadata Bundle-Description if available
|
String |
bundleDocUrl
contains osgi metadata Bundle-DocURL if available
|
String |
bundleExportPackage
contains osgi metadata Export-Package if available
|
String |
bundleExportService
contains osgi metadata Export-Service if available
|
String |
bundleImportPackage
contains osgi metadata Import-Package if available
|
String |
bundleLicense
contains osgi metadata Bundle-License if available
|
String |
bundleName
contains osgi metadata Bundle-Name if available
|
String |
bundleRequireBundle
contains osgi metadata Require-Bundle if available
|
String |
bundleSymbolicName
contains osgi metadata Bundle-SymbolicName if available
|
String |
bundleVersion
contains osgi metadata Bundle-Version if available
|
String |
classifier |
static String |
CLASSIFIER
Classifier.
|
String |
classNames |
String |
context |
static Comparator<ArtifactInfo> |
CONTEXT_VERSION_COMPARATOR |
static String |
DELETED
Field that contains
UINFO value for deleted artifact |
String |
description |
static String |
DESCRIPTION
Description.
|
String |
fextension |
String |
fname |
List<String> |
goals
Plugin goals (only if packaging is "maven-plugin")
|
static String |
GROUP_ID
GroupId.
|
String |
groupId |
static String |
INFO
Info: packaging, lastModified, size, sourcesExists, javadocExists, signatureExists.
|
ArtifactAvailablility |
javadocExists |
static String |
LAST_MODIFIED
Last modified.
|
long |
lastModified |
String |
md5 |
String |
name |
static String |
NAME
Name.
|
static String |
NAMES
Class names Stored compressed, indexed tokeninzed
|
String |
packaging
Artifact packaging for the main artifact and extension for secondary artifact (no classifier)
|
static String |
PACKAGING
Packaging.
|
String |
path |
static String |
PLUGIN_GOALS
Plugin goals.
|
static String |
PLUGIN_PREFIX
Plugin prefix.
|
String |
prefix
Plugin goal prefix (only if packaging is "maven-plugin")
|
String |
remoteUrl |
String |
repository |
static Comparator<ArtifactInfo> |
REPOSITORY_VERSION_COMPARATOR |
static String |
ROOT_GROUPS |
static String |
ROOT_GROUPS_LIST |
static String |
ROOT_GROUPS_VALUE |
String |
sha1 |
static String |
SHA1
SHA1.
|
ArtifactAvailablility |
signatureExists |
long |
size |
ArtifactAvailablility |
sourcesExists |
static String |
UINFO
Unique groupId, artifactId, version, classifier, extension (or packaging).
|
String |
version |
static String |
VERSION
Version.
|
static Comparator<ArtifactInfo> |
VERSION_COMPARATOR |
FLD_DELETED, FLD_UINFO, FS, FS_PATTERN, NA
Constructor and Description |
---|
ArtifactInfo() |
ArtifactInfo(String repository,
String groupId,
String artifactId,
String version,
String classifier) |
Modifier and Type | Method and Description |
---|---|
Gav |
calculateGav() |
org.sonatype.aether.version.Version |
getArtifactVersion() |
Map<String,String> |
getAttributes() |
Collection<Field> |
getFields() |
String |
getFieldValue(Field field)
This method will disappear, once we drop ArtifactInfo.
|
float |
getLuceneScore() |
List<MatchHighlight> |
getMatchHighlights() |
String |
getRootGroup() |
String |
getUinfo() |
static String |
lst2str(Collection<String> list) |
static String |
nvl(String v) |
static String |
renvl(String v) |
ArtifactInfo |
setFieldValue(Field field,
String value) |
void |
setLuceneScore(float score) |
static List<String> |
str2lst(String str) |
String |
toString() |
public static final String ROOT_GROUPS
public static final String ROOT_GROUPS_VALUE
public static final String ROOT_GROUPS_LIST
public static final String ALL_GROUPS
public static final String ALL_GROUPS_VALUE
public static final String ALL_GROUPS_LIST
public static final String UINFO
public static final String GROUP_ID
public static final String ARTIFACT_ID
public static final String VERSION
public static final String PACKAGING
public static final String CLASSIFIER
public static final String INFO
public static final String NAME
public static final String DESCRIPTION
public static final String LAST_MODIFIED
public static final String SHA1
public static final String NAMES
public static final String PLUGIN_PREFIX
public static final String PLUGIN_GOALS
public static final String BUNDLE_SYMBOLIC_NAME
public static final String BUNDLE_VERSION
public static final String BUNDLE_EXPORT_PACKAGE
public static final Comparator<ArtifactInfo> VERSION_COMPARATOR
public static final Comparator<ArtifactInfo> REPOSITORY_VERSION_COMPARATOR
public static final Comparator<ArtifactInfo> CONTEXT_VERSION_COMPARATOR
public String fname
public String fextension
public String groupId
public String artifactId
public String version
public String classifier
public String packaging
public String name
public String description
public long lastModified
public long size
public String md5
public String sha1
public ArtifactAvailablility sourcesExists
public ArtifactAvailablility javadocExists
public ArtifactAvailablility signatureExists
public String classNames
public String repository
public String path
public String remoteUrl
public String context
public String prefix
public String bundleVersion
public String bundleSymbolicName
public String bundleExportPackage
public String bundleExportService
public String bundleDescription
public String bundleName
public String bundleLicense
public String bundleDocUrl
public String bundleImportPackage
public String bundleRequireBundle
public org.sonatype.aether.version.Version getArtifactVersion()
public float getLuceneScore()
public void setLuceneScore(float score)
public String getUinfo()
public String getRootGroup()
public Gav calculateGav()
public List<MatchHighlight> getMatchHighlights()
public Collection<Field> getFields()
public String getFieldValue(Field field)
field
- public ArtifactInfo setFieldValue(Field field, String value)
public static String lst2str(Collection<String> list)
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.