fr.jcgay.maven.profiler
Class ArtifactProfiled

java.lang.Object
  extended by fr.jcgay.maven.profiler.ArtifactProfiled
All Implemented Interfaces:
org.eclipse.aether.artifact.Artifact

public class ArtifactProfiled
extends Object
implements org.eclipse.aether.artifact.Artifact


Method Summary
 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()
           
static ArtifactProfiled of(org.eclipse.aether.artifact.Artifact 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

of

public static ArtifactProfiled of(org.eclipse.aether.artifact.Artifact artifact)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getGroupId

public String getGroupId()
Specified by:
getGroupId in interface org.eclipse.aether.artifact.Artifact

getArtifactId

public String getArtifactId()
Specified by:
getArtifactId in interface org.eclipse.aether.artifact.Artifact

getVersion

public String getVersion()
Specified by:
getVersion in interface org.eclipse.aether.artifact.Artifact

setVersion

public org.eclipse.aether.artifact.Artifact setVersion(String version)
Specified by:
setVersion in interface org.eclipse.aether.artifact.Artifact

getBaseVersion

public String getBaseVersion()
Specified by:
getBaseVersion in interface org.eclipse.aether.artifact.Artifact

isSnapshot

public boolean isSnapshot()
Specified by:
isSnapshot in interface org.eclipse.aether.artifact.Artifact

getClassifier

public String getClassifier()
Specified by:
getClassifier in interface org.eclipse.aether.artifact.Artifact

getExtension

public String getExtension()
Specified by:
getExtension in interface org.eclipse.aether.artifact.Artifact

getFile

public File getFile()
Specified by:
getFile in interface org.eclipse.aether.artifact.Artifact

setFile

public org.eclipse.aether.artifact.Artifact setFile(File file)
Specified by:
setFile in interface org.eclipse.aether.artifact.Artifact

getProperty

public String getProperty(String key,
                          String defaultValue)
Specified by:
getProperty in interface org.eclipse.aether.artifact.Artifact

getProperties

public Map<String,String> getProperties()
Specified by:
getProperties in interface org.eclipse.aether.artifact.Artifact

setProperties

public org.eclipse.aether.artifact.Artifact setProperties(Map<String,String> properties)
Specified by:
setProperties in interface org.eclipse.aether.artifact.Artifact


Copyright © 2014–2017. All rights reserved.