public class ArtifactMetadata extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
artifactExists
does the actual artifact for this metadata exists
|
protected String |
artifactId |
protected ArtifactScopeEnum |
artifactScope |
protected String |
artifactUri
artifact URI
|
protected String |
classifier |
protected Collection<ArtifactMetadata> |
dependencies
dependencies of the artifact behind this metadata
|
protected String |
groupId
standard glorified artifact coordinates
|
protected boolean |
resolved
is metadata found anywhere
|
protected String |
type |
protected String |
uri
metadata URI
|
protected String |
version |
protected String |
why
explanation: why this MD was chosen over it's siblings
in the resulting structure (classpath for now)
|
Constructor and Description |
---|
ArtifactMetadata(Artifact af) |
ArtifactMetadata(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,
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) |
ArtifactMetadata(String groupId,
String name,
String version,
String type,
String scopeString,
String classifier,
String artifactUri,
String why,
boolean resolved,
String error) |
protected String artifactId
protected ArtifactScopeEnum artifactScope
protected String classifier
protected String why
protected Collection<ArtifactMetadata> dependencies
protected boolean resolved
protected boolean artifactExists
protected String artifactUri
public ArtifactMetadata(String name)
public ArtifactMetadata(String groupId, String name, String version)
public ArtifactMetadata(String groupId, String name, String version, String type)
public ArtifactMetadata(String groupId, String name, String version, String type, ArtifactScopeEnum artifactScope)
public ArtifactMetadata(String groupId, String name, String version, String type, ArtifactScopeEnum artifactScope, String classifier)
public ArtifactMetadata(String groupId, String name, String version, String type, ArtifactScopeEnum artifactScope, String classifier, String artifactUri)
public ArtifactMetadata(String groupId, String name, String version, String type, ArtifactScopeEnum artifactScope, String classifier, String artifactUri, String why, boolean resolved, String error)
public ArtifactMetadata(String groupId, String name, String version, String type, String scopeString, String classifier, String artifactUri, String why, boolean resolved, String error)
public ArtifactMetadata(Artifact af)
public String toDomainString()
public String getGroupId()
public void setGroupId(String groupId)
public String getArtifactId()
public void setArtifactId(String name)
public String getVersion()
public void setVersion(String version)
public String getCheckedType()
public ArtifactScopeEnum getArtifactScope()
public void setArtifactScope(ArtifactScopeEnum artifactScope)
public String getClassifier()
public void setClassifier(String classifier)
public boolean isResolved()
public void setResolved(boolean resolved)
public ArtifactScopeEnum getScopeAsEnum()
public boolean isArtifactExists()
public void setArtifactExists(boolean artifactExists)
public Collection<ArtifactMetadata> getDependencies()
public void setDependencies(Collection<ArtifactMetadata> dependencies)
public String getArtifactUri()
public void setArtifactUri(String artifactUri)
public boolean isError()
public String getDependencyConflictId()
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.