Class ArtifactMetadata
java.lang.Object
org.apache.maven.repository.metadata.ArtifactMetadata
Artifact Metadata that is resolved independent of Artifact itself.
- Author:
- Oleg Gusakov
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleandoes the actual artifact for this metadata existsprotected Stringprotected ArtifactScopeEnumprotected Stringartifact URIprotected Stringprotected Collection<ArtifactMetadata>dependencies of the artifact behind this metadataprotected Stringstandard glorified artifact coordinatesprotected booleanis metadata found anywhereprotected Stringprotected Stringmetadata URIprotected Stringprotected Stringexplanation: why this MD was chosen over its siblings in the resulting structure (classpath for now)
- 
Constructor SummaryConstructorsConstructorDescriptionArtifactMetadata(String name) ArtifactMetadata(String groupId, String name, String version) ArtifactMetadata(String groupId, String name, String version, String type) ArtifactMetadata(String groupId, String name, String version, String type, String scopeString, String classifier, String artifactUri, String why, boolean resolved, String error) ArtifactMetadata(String groupId, String name, String version, String type, ArtifactScopeEnum artifactScope) ArtifactMetadata(String groupId, String name, String version, String type, ArtifactScopeEnum artifactScope, String classifier) ArtifactMetadata(String groupId, String name, String version, String type, ArtifactScopeEnum artifactScope, String classifier, String artifactUri) ArtifactMetadata(String groupId, String name, String version, String type, ArtifactScopeEnum artifactScope, String classifier, String artifactUri, String why, boolean resolved, String error) 
- 
Method SummaryModifier and TypeMethodDescriptiongetError()getScope()getType()getUri()getWhy()booleanbooleanisError()booleanvoidsetArtifactExists(boolean artifactExists) voidsetArtifactId(String name) voidsetArtifactScope(ArtifactScopeEnum artifactScope) voidsetArtifactUri(String artifactUri) voidsetClassifier(String classifier) voidsetDependencies(Collection<ArtifactMetadata> dependencies) voidvoidsetGroupId(String groupId) voidsetResolved(boolean resolved) voidvoidvoidvoidsetVersion(String version) voidtoString()
- 
Field Details- 
groupIdstandard glorified artifact coordinates
- 
artifactId
- 
version
- 
type
- 
artifactScope
- 
classifier
- 
whyexplanation: why this MD was chosen over its siblings in the resulting structure (classpath for now)
- 
dependenciesdependencies of the artifact behind this metadata
- 
urimetadata URI
- 
resolvedprotected boolean resolvedis metadata found anywhere
- 
artifactExistsprotected boolean artifactExistsdoes the actual artifact for this metadata exists
- 
artifactUriartifact URI
 
- 
- 
Constructor Details- 
ArtifactMetadata
- 
ArtifactMetadata
- 
ArtifactMetadata
- 
ArtifactMetadatapublic ArtifactMetadata(String groupId, String name, String version, String type, ArtifactScopeEnum artifactScope) 
- 
ArtifactMetadata
- 
ArtifactMetadata
- 
ArtifactMetadata
- 
ArtifactMetadata
- 
ArtifactMetadata
 
- 
- 
Method Details- 
toString
- 
toDomainString
- 
getGroupId
- 
setGroupId
- 
getArtifactId
- 
setArtifactId
- 
getVersion
- 
setVersion
- 
getType
- 
getCheckedType
- 
setType
- 
getArtifactScope
- 
setArtifactScope
- 
setScope
- 
getClassifier
- 
setClassifier
- 
isResolvedpublic boolean isResolved()
- 
setResolvedpublic void setResolved(boolean resolved) 
- 
getUri
- 
setUri
- 
getScope
- 
getScopeAsEnum
- 
isArtifactExistspublic boolean isArtifactExists()
- 
setArtifactExistspublic void setArtifactExists(boolean artifactExists) 
- 
getDependencies
- 
setDependencies
- 
getArtifactUri
- 
setArtifactUri
- 
getWhy
- 
setWhy
- 
getError
- 
setError
- 
isErrorpublic boolean isError()
- 
getDependencyConflictId
 
-