org.jvnet.hudson.plugins.repositoryconnector
Class Artifact

java.lang.Object
  extended by org.jvnet.hudson.plugins.repositoryconnector.Artifact
All Implemented Interfaces:
Serializable

public class Artifact
extends Object
implements Serializable

Represents an artifact to be resolved or uploaded.

Author:
domi
See Also:
Serialized Form

Constructor Summary
Artifact(String groupId, String artifactId, String classifier, String version, String extension, String targetFileName)
           
 
Method Summary
 String getArtifactId()
           
 String getClassifier()
           
 String getExtension()
           
 String getGroupId()
           
 String getTargetFileName()
           
 String getVersion()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Artifact

@DataBoundConstructor
public Artifact(String groupId,
                                     String artifactId,
                                     String classifier,
                                     String version,
                                     String extension,
                                     String targetFileName)
Method Detail

getGroupId

public String getGroupId()
Returns:
the groupId

getArtifactId

public String getArtifactId()
Returns:
the artifactId

getVersion

public String getVersion()
Returns:
the version

getExtension

public String getExtension()
Returns:
the extension

getClassifier

public String getClassifier()
Returns:
the classifier

getTargetFileName

public String getTargetFileName()
Returns:
the targetFileName

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2014. All Rights Reserved.