~ubuntu-branches/ubuntu/utopic/build-helper-maven-plugin/utopic

« back to all changes in this revision

Viewing changes to src/main/java/org/codehaus/mojo/buildhelper/Artifact.java

  • Committer: Package Import Robot
  • Author(s): tony mancill, Emmanuel Bourg, tony mancill
  • Date: 2013-06-01 20:19:34 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130601201934-hzv7zmdcgazfyupp
Tags: 1.7-1
[ Emmanuel Bourg ]
* Team upload.
* New upstream release
* Set the compiler source/target to 1.5
* Updated Standards-Version to 3.9.4 (no changes)
* debian/copyright:
  - Updated the Format URI to 1.0
  - Removed the duplicate Copyright fields

[ tony mancill ]
* debian/control:
  - Add libmaven-invoker-plugin-java to build-depends-indep.
  - Wrap long lines.
  - Update Vcs-Git URL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
import java.io.File;
28
28
 
29
29
/**
 
30
 * <p>Artifact class.</p>
 
31
 *
30
32
 * @author dtran
31
 
 *
 
33
 * @version $Id: Artifact.java 14209 2011-06-21 21:49:10Z rfscholte $
32
34
 */
33
35
public class Artifact
34
36
{
38
40
    
39
41
    private String classifier;
40
42
    
 
43
    /**
 
44
     * <p>Setter for the field <code>file</code>.</p>
 
45
     *
 
46
     * @param localFile a {@link java.io.File} object.
 
47
     */
41
48
    public void setFile( File localFile )
42
49
    {
43
50
        this.file = localFile;
44
51
    }
45
52
    
 
53
    /**
 
54
     * <p>Getter for the field <code>file</code>.</p>
 
55
     *
 
56
     * @return a {@link java.io.File} object.
 
57
     */
46
58
    public File getFile ()
47
59
    {
48
60
        return this.file;
49
61
    }
50
62
 
 
63
    /**
 
64
     * <p>Setter for the field <code>type</code>.</p>
 
65
     *
 
66
     * @param type a {@link java.lang.String} object.
 
67
     */
51
68
    public void setType( String type )
52
69
    {
53
70
        this.type = type;
54
71
    }
55
72
    
 
73
    /**
 
74
     * <p>Getter for the field <code>type</code>.</p>
 
75
     *
 
76
     * @return a {@link java.lang.String} object.
 
77
     */
56
78
    public String getType ()
57
79
    {
58
80
        return this.type;
59
81
    }    
60
82
    
 
83
    /**
 
84
     * <p>Setter for the field <code>classifier</code>.</p>
 
85
     *
 
86
     * @param classifier a {@link java.lang.String} object.
 
87
     */
61
88
    public void setClassifier( String classifier )
62
89
    {
63
90
        this.classifier = classifier;
64
91
    }
65
92
    
 
93
    /**
 
94
     * <p>Getter for the field <code>classifier</code>.</p>
 
95
     *
 
96
     * @return a {@link java.lang.String} object.
 
97
     */
66
98
    public String getClassifier ()
67
99
    {
68
100
        return this.classifier;