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.
|
static String |
BUNDLE_EXPORT_PACKAGE |
static String |
BUNDLE_PROVIDE_CAPABILITY
OSGI Provide-Capability header
|
static String |
BUNDLE_REQUIRE_CAPABILITY
OSGI Provide-Capability header
|
static String |
BUNDLE_SYMBOLIC_NAME |
static String |
BUNDLE_VERSION |
static String |
CLASSIFIER
Classifier.
|
static Comparator<ArtifactInfo> |
CONTEXT_VERSION_COMPARATOR |
static String |
DELETED
Field that contains
UINFO value for deleted artifact |
static String |
DESCRIPTION
Description.
|
static String |
GROUP_ID
GroupId.
|
static String |
INFO
Info: packaging, lastModified, size, sourcesExists, javadocExists, signatureExists.
|
static String |
LAST_MODIFIED
Last modified.
|
static String |
NAME
Name.
|
static String |
NAMES
Class names Stored compressed, indexed tokenized
|
static String |
PACKAGING
Packaging.
|
static String |
PLUGIN_GOALS
Plugin goals.
|
static String |
PLUGIN_PREFIX
Plugin prefix.
|
static Comparator<ArtifactInfo> |
REPOSITORY_VERSION_COMPARATOR |
static String |
ROOT_GROUPS |
static String |
ROOT_GROUPS_LIST |
static String |
ROOT_GROUPS_VALUE |
static String |
SHA1
SHA1.
|
static String |
UINFO
Unique groupId, artifactId, version, classifier, extension (or packaging).
|
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,
String extension) |
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 String BUNDLE_PROVIDE_CAPABILITY
public static final String BUNDLE_REQUIRE_CAPABILITY
public static final Comparator<ArtifactInfo> VERSION_COMPARATOR
public static final Comparator<ArtifactInfo> REPOSITORY_VERSION_COMPARATOR
public static final Comparator<ArtifactInfo> CONTEXT_VERSION_COMPARATOR
public 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)
public String getFileName()
public void setFileName(String fileName)
public String getFileExtension()
public void setFileExtension(String fileExtension)
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String artifactId)
public String getVersion()
public void setVersion(String version)
public void setArtifactVersion(Version artifactVersion)
public String getClassifier()
public void setClassifier(String classifier)
public String getPackaging()
public void setPackaging(String packaging)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public long getLastModified()
public void setLastModified(long lastModified)
public long getSize()
public void setSize(long size)
public String getMd5()
public void setMd5(String md5)
public String getSha1()
public void setSha1(String sha1)
public ArtifactAvailability getSourcesExists()
public void setSourcesExists(ArtifactAvailability sourcesExists)
public ArtifactAvailability getJavadocExists()
public void setJavadocExists(ArtifactAvailability javadocExists)
public ArtifactAvailability getSignatureExists()
public void setSignatureExists(ArtifactAvailability signatureExists)
public String getClassNames()
public void setClassNames(String classNames)
public String getRepository()
public void setRepository(String repository)
public String getPath()
public void setPath(String path)
public String getRemoteUrl()
public void setRemoteUrl(String remoteUrl)
public String getContext()
public void setContext(String context)
public String getPrefix()
public void setPrefix(String prefix)
public String getBundleVersion()
public void setBundleVersion(String bundleVersion)
public String getBundleSymbolicName()
public void setBundleSymbolicName(String bundleSymbolicName)
public String getBundleExportPackage()
public void setBundleExportPackage(String bundleExportPackage)
public String getBundleExportService()
public void setBundleExportService(String bundleExportService)
public String getBundleDescription()
public void setBundleDescription(String bundleDescription)
public String getBundleName()
public void setBundleName(String bundleName)
public String getBundleLicense()
public void setBundleLicense(String bundleLicense)
public String getBundleDocUrl()
public void setBundleDocUrl(String bundleDocUrl)
public String getBundleImportPackage()
public void setBundleImportPackage(String bundleImportPackage)
public String getBundleRequireBundle()
public void setBundleRequireBundle(String bundleRequireBundle)
public VersionScheme getVersionScheme()
public String getBundleProvideCapability()
public void setBundleProvideCapability(String bundleProvideCapability)
public String getBundleRequireCapability()
public void setBundleRequireCapability(String bundleRequireCapability)
public String getSha256()
public void setSha256(String sha256)
public String getBundleFragmentHost()
public void setBundleFragmentHost(String bundleFragmentHost)
public String getBundleRequiredExecutionEnvironment()
public void setBundleRequiredExecutionEnvironment(String bundleRequiredExecutionEnvironment)
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.