org.gcube.portlets.admin.software_upload_wizard.server.softwaremanagers.maven.deploy
Class PrimaryArtifactAttachment

java.lang.Object
  extended by org.gcube.portlets.admin.software_upload_wizard.server.softwaremanagers.maven.deploy.PrimaryArtifactAttachment

public class PrimaryArtifactAttachment
extends Object

Identifies an attachment of a maven primary artifact.

Author:
Luigi Fortunati

Constructor Summary
PrimaryArtifactAttachment(File file, String classifier, String type)
          Construct a maven primary artifact attachment.
 
Method Summary
 String getClassifier()
           
 File getFile()
           
 String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimaryArtifactAttachment

public PrimaryArtifactAttachment(File file,
                                 String classifier,
                                 String type)
Construct a maven primary artifact attachment.

Parameters:
file - the artifact of the primary artifact attachment
classifier - the classifier of the primary artifact attachment
type - the type (extension) of the primary artifact attachment
Method Detail

getFile

public File getFile()
Returns:
the artifact of the primary artifact attachment

getClassifier

public String getClassifier()
Returns:
the classifier of the primary artifact attachment

getType

public String getType()
Returns:
the type (extension) of the primary artifact attachment


Copyright © 2013. All Rights Reserved.