Package org.guvnor.m2repo.backend.server
Class ArtifactImpl
- java.lang.Object
-
- org.guvnor.m2repo.backend.server.ArtifactImpl
-
- All Implemented Interfaces:
org.eclipse.aether.artifact.Artifact
public class ArtifactImpl extends Object implements org.eclipse.aether.artifact.Artifact
-
-
Constructor Summary
Constructors Constructor Description ArtifactImpl(File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetArtifactId()StringgetBaseVersion()StringgetClassifier()StringgetExtension()FilegetFile()StringgetGroupId()Map<String,String>getProperties()StringgetProperty(String s, String s1)StringgetVersion()booleanisSnapshot()org.eclipse.aether.artifact.ArtifactsetFile(File file)org.eclipse.aether.artifact.ArtifactsetProperties(Map<String,String> map)org.eclipse.aether.artifact.ArtifactsetVersion(String version)
-
-
-
Constructor Detail
-
ArtifactImpl
public ArtifactImpl(File file)
-
-
Method Detail
-
getGroupId
public String getGroupId()
- Specified by:
getGroupIdin interfaceorg.eclipse.aether.artifact.Artifact
-
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactIdin interfaceorg.eclipse.aether.artifact.Artifact
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceorg.eclipse.aether.artifact.Artifact
-
setVersion
public org.eclipse.aether.artifact.Artifact setVersion(String version)
- Specified by:
setVersionin interfaceorg.eclipse.aether.artifact.Artifact
-
getBaseVersion
public String getBaseVersion()
- Specified by:
getBaseVersionin interfaceorg.eclipse.aether.artifact.Artifact
-
isSnapshot
public boolean isSnapshot()
- Specified by:
isSnapshotin interfaceorg.eclipse.aether.artifact.Artifact
-
getClassifier
public String getClassifier()
- Specified by:
getClassifierin interfaceorg.eclipse.aether.artifact.Artifact
-
getExtension
public String getExtension()
- Specified by:
getExtensionin interfaceorg.eclipse.aether.artifact.Artifact
-
getFile
public File getFile()
- Specified by:
getFilein interfaceorg.eclipse.aether.artifact.Artifact
-
setFile
public org.eclipse.aether.artifact.Artifact setFile(File file)
- Specified by:
setFilein interfaceorg.eclipse.aether.artifact.Artifact
-
getProperty
public String getProperty(String s, String s1)
- Specified by:
getPropertyin interfaceorg.eclipse.aether.artifact.Artifact
-
getProperties
public Map<String,String> getProperties()
- Specified by:
getPropertiesin interfaceorg.eclipse.aether.artifact.Artifact
-
-