Package org.apache.maven.index
Class ArtifactInfo
java.lang.Object
org.apache.maven.index.ArtifactInfoRecord
org.apache.maven.index.ArtifactInfo
- All Implemented Interfaces:
- Serializable
ArtifactInfo holds the values known about an repository artifact. This is a simple Value Object kind of stuff.
 Phasing out.
- Author:
- Jason van Zyl, Eugene Kuleshov
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringArtifactId.static final Stringstatic final StringOSGI Provide-Capability headerstatic final StringOSGI Provide-Capability headerstatic final Stringstatic final Stringstatic final StringClassifier.static final Comparator<ArtifactInfo> static final StringField that containsUINFOvalue for deleted artifactstatic final StringDescription.static final StringGroupId.static final StringInfo: packaging, lastModified, size, sourcesExists, javadocExists, signatureExists.static final StringLast modified.static final StringName.static final StringClass names Stored compressed, indexed tokenizedstatic final StringPackaging.static final StringPlugin goals.static final StringPlugin prefix.static final Comparator<ArtifactInfo> static final Stringstatic final Stringstatic final Stringstatic final StringSHA1.static final StringUnique groupId, artifactId, version, classifier, extension (or packaging).static final StringVersion.static final Comparator<ArtifactInfo> Fields inherited from class org.apache.maven.index.ArtifactInfoRecordFLD_DELETED, FLD_UINFO, FS, FS_PATTERN, NA
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.eclipse.aether.version.VersiongetFieldValue(Field field) This method will disappear, once we drop ArtifactInfo.getGoals()longfloatgetMd5()getName()getPath()getSha1()longgetSize()getUinfo()org.eclipse.aether.version.VersionSchemestatic Stringlst2str(Collection<String> list) static Stringstatic StringvoidsetArtifactId(String artifactId) voidsetArtifactVersion(org.eclipse.aether.version.Version artifactVersion) voidsetBundleDescription(String bundleDescription) voidsetBundleDocUrl(String bundleDocUrl) voidsetBundleExportPackage(String bundleExportPackage) voidsetBundleExportService(String bundleExportService) voidsetBundleFragmentHost(String bundleFragmentHost) voidsetBundleImportPackage(String bundleImportPackage) voidsetBundleLicense(String bundleLicense) voidsetBundleName(String bundleName) voidsetBundleProvideCapability(String bundleProvideCapability) voidsetBundleRequireBundle(String bundleRequireBundle) voidsetBundleRequireCapability(String bundleRequireCapability) voidsetBundleRequiredExecutionEnvironment(String bundleRequiredExecutionEnvironment) voidsetBundleSymbolicName(String bundleSymbolicName) voidsetBundleVersion(String bundleVersion) voidsetClassifier(String classifier) voidsetClassNames(String classNames) voidsetContext(String context) voidsetDescription(String description) voidsetFieldValue(Field field, String value) voidsetFileExtension(String fileExtension) voidsetFileName(String fileName) voidvoidsetGroupId(String groupId) voidsetJavadocExists(ArtifactAvailability javadocExists) voidsetLastModified(long lastModified) voidsetLuceneScore(float score) voidvoidvoidsetPackaging(String packaging) voidvoidvoidsetRemoteUrl(String remoteUrl) voidsetRepository(String repository) voidvoidvoidsetSignatureExists(ArtifactAvailability signatureExists) voidsetSize(long size) voidsetSourcesExists(ArtifactAvailability sourcesExists) voidsetVersion(String version) toString()
- 
Field Details- 
ROOT_GROUPS- See Also:
 
- 
ROOT_GROUPS_VALUE- See Also:
 
- 
ROOT_GROUPS_LIST- See Also:
 
- 
ALL_GROUPS- See Also:
 
- 
ALL_GROUPS_VALUE- See Also:
 
- 
ALL_GROUPS_LIST- See Also:
 
- 
UINFOUnique groupId, artifactId, version, classifier, extension (or packaging). Stored, indexed untokenized
- 
DELETEDField that containsUINFOvalue for deleted artifact
- 
GROUP_IDGroupId. Not stored, indexed untokenized
- 
ARTIFACT_IDArtifactId. Not stored, indexed tokenized
- 
VERSIONVersion. Not stored, indexed tokenized
- 
PACKAGINGPackaging. Not stored, indexed untokenized
- 
CLASSIFIERClassifier. Not stored, indexed untokenized
- 
INFOInfo: packaging, lastModified, size, sourcesExists, javadocExists, signatureExists. Stored, not indexed.
- 
NAMEName. Stored, not indexed
- 
DESCRIPTIONDescription. Stored, not indexed
- 
LAST_MODIFIEDLast modified. Stored, not indexed
- 
SHA1SHA1. Stored, indexed untokenized
- 
NAMESClass names Stored compressed, indexed tokenized
- 
PLUGIN_PREFIXPlugin prefix. Stored, not indexed
- 
PLUGIN_GOALSPlugin goals. Stored, not indexed
- 
BUNDLE_SYMBOLIC_NAME- Since:
- 1.4.2
 
- 
BUNDLE_VERSION- Since:
- 1.4.2
 
- 
BUNDLE_EXPORT_PACKAGE- Since:
- 1.4.2
 
- 
BUNDLE_PROVIDE_CAPABILITYOSGI Provide-Capability header- Since:
- 5.1.2
 
- 
BUNDLE_REQUIRE_CAPABILITYOSGI Provide-Capability header- Since:
- 5.1.2
 
- 
VERSION_COMPARATOR
- 
REPOSITORY_VERSION_COMPARATOR
- 
CONTEXT_VERSION_COMPARATOR
 
- 
- 
Constructor Details- 
ArtifactInfopublic ArtifactInfo()
- 
ArtifactInfo
 
- 
- 
Method Details- 
getArtifactVersionpublic org.eclipse.aether.version.Version getArtifactVersion()
- 
getLuceneScorepublic float getLuceneScore()
- 
setLuceneScorepublic void setLuceneScore(float score) 
- 
getUinfo
- 
getRootGroup
- 
calculateGav
- 
getAttributes
- 
getMatchHighlights
- 
toString
- 
getFields
- 
getFieldValueThis method will disappear, once we drop ArtifactInfo.- Parameters:
- field-
- Returns:
 
- 
setFieldValue
- 
nvl
- 
renvl
- 
lst2str
- 
str2lst
- 
getFileName
- 
setFileName
- 
getFileExtension
- 
setFileExtension
- 
getGroupId
- 
setGroupId
- 
getArtifactId
- 
setArtifactId
- 
getVersion
- 
setVersion
- 
setArtifactVersionpublic void setArtifactVersion(org.eclipse.aether.version.Version artifactVersion) 
- 
getClassifier
- 
setClassifier
- 
getPackaging
- 
setPackaging
- 
getName
- 
setName
- 
getDescription
- 
setDescription
- 
getLastModifiedpublic long getLastModified()
- 
setLastModifiedpublic void setLastModified(long lastModified) 
- 
getSizepublic long getSize()
- 
setSizepublic void setSize(long size) 
- 
getMd5
- 
setMd5
- 
getSha1
- 
setSha1
- 
getSourcesExists
- 
setSourcesExists
- 
getJavadocExists
- 
setJavadocExists
- 
getSignatureExists
- 
setSignatureExists
- 
getClassNames
- 
setClassNames
- 
getRepository
- 
setRepository
- 
getPath
- 
setPath
- 
getRemoteUrl
- 
setRemoteUrl
- 
getContext
- 
setContext
- 
getPrefix
- 
setPrefix
- 
getGoals
- 
setGoals
- 
getBundleVersion
- 
setBundleVersion
- 
getBundleSymbolicName
- 
setBundleSymbolicName
- 
getBundleExportPackage
- 
setBundleExportPackage
- 
getBundleExportService
- 
setBundleExportService
- 
getBundleDescription
- 
setBundleDescription
- 
getBundleName
- 
setBundleName
- 
getBundleLicense
- 
setBundleLicense
- 
getBundleDocUrl
- 
setBundleDocUrl
- 
getBundleImportPackage
- 
setBundleImportPackage
- 
getBundleRequireBundle
- 
setBundleRequireBundle
- 
getVersionSchemepublic org.eclipse.aether.version.VersionScheme getVersionScheme()
- 
setFields
- 
getBundleProvideCapability
- 
setBundleProvideCapability
- 
getBundleRequireCapability
- 
setBundleRequireCapability
- 
getSha256
- 
setSha256
- 
getBundleFragmentHost
- 
setBundleFragmentHost
- 
getBundleRequiredExecutionEnvironment
- 
setBundleRequiredExecutionEnvironment
 
-