public abstract class DelegatingArtifact
extends org.eclipse.aether.artifact.AbstractArtifact
| Modifier | Constructor and Description |
|---|---|
protected |
DelegatingArtifact(org.eclipse.aether.artifact.Artifact delegate)
Creates a new artifact instance that delegates to the specified artifact.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArtifactId() |
String |
getBaseVersion() |
String |
getClassifier() |
String |
getExtension() |
File |
getFile() |
String |
getGroupId() |
Map<String,String> |
getProperties() |
String |
getProperty(String key,
String defaultValue) |
String |
getVersion() |
int |
hashCode() |
boolean |
isSnapshot() |
protected abstract DelegatingArtifact |
newInstance(org.eclipse.aether.artifact.Artifact delegate)
Creates a new artifact instance that delegates to the specified artifact.
|
org.eclipse.aether.artifact.Artifact |
setFile(File file) |
org.eclipse.aether.artifact.Artifact |
setProperties(Map<String,String> properties) |
org.eclipse.aether.artifact.Artifact |
setVersion(String version) |
String |
toString() |
protected DelegatingArtifact(org.eclipse.aether.artifact.Artifact delegate)
delegate - The artifact to delegate to, must not be null.protected abstract DelegatingArtifact newInstance(org.eclipse.aether.artifact.Artifact delegate)
delegate - The artifact to delegate to, must not be null.null.public String getGroupId()
public String getArtifactId()
public String getVersion()
public org.eclipse.aether.artifact.Artifact setVersion(String version)
setVersion in interface org.eclipse.aether.artifact.ArtifactsetVersion in class org.eclipse.aether.artifact.AbstractArtifactpublic String getBaseVersion()
getBaseVersion in interface org.eclipse.aether.artifact.ArtifactgetBaseVersion in class org.eclipse.aether.artifact.AbstractArtifactpublic boolean isSnapshot()
isSnapshot in interface org.eclipse.aether.artifact.ArtifactisSnapshot in class org.eclipse.aether.artifact.AbstractArtifactpublic String getClassifier()
public String getExtension()
public File getFile()
public org.eclipse.aether.artifact.Artifact setFile(File file)
setFile in interface org.eclipse.aether.artifact.ArtifactsetFile in class org.eclipse.aether.artifact.AbstractArtifactpublic String getProperty(String key, String defaultValue)
getProperty in interface org.eclipse.aether.artifact.ArtifactgetProperty in class org.eclipse.aether.artifact.AbstractArtifactpublic org.eclipse.aether.artifact.Artifact setProperties(Map<String,String> properties)
setProperties in interface org.eclipse.aether.artifact.ArtifactsetProperties in class org.eclipse.aether.artifact.AbstractArtifactpublic boolean equals(Object obj)
equals in class org.eclipse.aether.artifact.AbstractArtifactpublic int hashCode()
hashCode in class org.eclipse.aether.artifact.AbstractArtifactpublic String toString()
toString in class org.eclipse.aether.artifact.AbstractArtifactCopyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.