public class ArtifactImpl extends Object implements org.eclipse.aether.artifact.Artifact
| Constructor and Description |
|---|
ArtifactImpl(File file) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId() |
String |
getBaseVersion() |
String |
getClassifier() |
String |
getExtension() |
File |
getFile() |
String |
getGroupId() |
Map<String,String> |
getProperties() |
String |
getProperty(String s,
String s1) |
String |
getVersion() |
boolean |
isSnapshot() |
org.eclipse.aether.artifact.Artifact |
setFile(File file) |
org.eclipse.aether.artifact.Artifact |
setProperties(Map<String,String> map) |
org.eclipse.aether.artifact.Artifact |
setVersion(String version) |
public ArtifactImpl(File file)
public String getGroupId()
getGroupId in interface org.eclipse.aether.artifact.Artifactpublic String getArtifactId()
getArtifactId in interface org.eclipse.aether.artifact.Artifactpublic String getVersion()
getVersion in interface org.eclipse.aether.artifact.Artifactpublic org.eclipse.aether.artifact.Artifact setVersion(String version)
setVersion in interface org.eclipse.aether.artifact.Artifactpublic String getBaseVersion()
getBaseVersion in interface org.eclipse.aether.artifact.Artifactpublic boolean isSnapshot()
isSnapshot in interface org.eclipse.aether.artifact.Artifactpublic String getClassifier()
getClassifier in interface org.eclipse.aether.artifact.Artifactpublic String getExtension()
getExtension in interface org.eclipse.aether.artifact.Artifactpublic File getFile()
getFile in interface org.eclipse.aether.artifact.Artifactpublic org.eclipse.aether.artifact.Artifact setFile(File file)
setFile in interface org.eclipse.aether.artifact.Artifactpublic String getProperty(String s, String s1)
getProperty in interface org.eclipse.aether.artifact.Artifactpublic Map<String,String> getProperties()
getProperties in interface org.eclipse.aether.artifact.ArtifactCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.