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 groupId
protected String artifactId
protected String version
protected String type
protected ArtifactScopeEnum artifactScope
protected String classifier
protected String why
protected Collection<ArtifactMetadata> dependencies
protected String uri
protected boolean resolved
protected boolean artifactExists
protected String artifactUri
public ArtifactMetadata(String name)
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 getType()
public String getCheckedType()
public void setType(String type)
public ArtifactScopeEnum getArtifactScope()
public void setArtifactScope(ArtifactScopeEnum artifactScope)
public void setScope(String scope)
public String getClassifier()
public void setClassifier(String classifier)
public boolean isResolved()
public void setResolved(boolean resolved)
public String getUri()
public void setUri(String uri)
public String getScope()
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 String getWhy()
public void setWhy(String why)
public String getError()
public void setError(String error)
public boolean isError()
public String getDependencyConflictId()
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.