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.Artifact
public String getArtifactId()
getArtifactId
in interface org.eclipse.aether.artifact.Artifact
public String getVersion()
getVersion
in interface org.eclipse.aether.artifact.Artifact
public org.eclipse.aether.artifact.Artifact setVersion(String version)
setVersion
in interface org.eclipse.aether.artifact.Artifact
public String getBaseVersion()
getBaseVersion
in interface org.eclipse.aether.artifact.Artifact
public boolean isSnapshot()
isSnapshot
in interface org.eclipse.aether.artifact.Artifact
public String getClassifier()
getClassifier
in interface org.eclipse.aether.artifact.Artifact
public String getExtension()
getExtension
in interface org.eclipse.aether.artifact.Artifact
public File getFile()
getFile
in interface org.eclipse.aether.artifact.Artifact
public org.eclipse.aether.artifact.Artifact setFile(File file)
setFile
in interface org.eclipse.aether.artifact.Artifact
public String getProperty(String s, String s1)
getProperty
in interface org.eclipse.aether.artifact.Artifact
public Map<String,String> getProperties()
getProperties
in interface org.eclipse.aether.artifact.Artifact
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.