View Javadoc
1   package org.codehaus.mojo.clirr;
2   
3   /*
4    * Copyright 2006 The Apache Software Foundation.
5    *
6    * Licensed under the Apache License, Version 2.0 (the "License");
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    *
10   *      http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  
19  /**
20   * An artifact specification.
21   */
22  public class ArtifactSpecification
23  {
24      /**
25       * The artifacts groupID.
26       */
27      private String groupId;
28  
29      /**
30       * The artifacts artifactID.
31       */
32      private String artifactId;
33  
34      /**
35       * The artifacts version number.
36       */
37      private String version;
38  
39      /**
40       * The artifacts classifier.
41       */
42      private String classifier;
43  
44      /**
45       * The artifacts type; defaults to "jar".
46       */
47      private String type;
48  
49      /**
50       * Returns the artifacts groupId.
51       */
52      public String getGroupId()
53      {
54          return groupId;
55      }
56  
57      /**
58       * Sets the artifacts groupId.
59       */
60      public void setGroupId( String groupId )
61      {
62          this.groupId = groupId;
63      }
64  
65      /**
66       * Returns the artifacts artifactId.
67       */
68      public String getArtifactId()
69      {
70          return artifactId;
71      }
72  
73      /**
74       * Sets the artifacts artifactId.
75       */
76      public void setArtifactId( String artifactId )
77      {
78          this.artifactId = artifactId;
79      }
80  
81      /**
82       * Returns the artifacts version number.
83       */
84      public String getVersion()
85      {
86          return version;
87      }
88  
89      /**
90       * Sets the artifacts version number.
91       */
92      public void setVersion( String version )
93      {
94          this.version = version;
95      }
96  
97      /**
98       * Returns the artifacts classifier.
99       */
100     public String getClassifier()
101     {
102         return classifier;
103     }
104 
105     /**
106      * Sets the artifacts classifier.
107      */
108     public void setClassifier( String classifier )
109     {
110         this.classifier = classifier;
111     }
112 
113     /**
114      * Returns the artifacts type; defaults to "jar".
115      */
116     public String getType()
117     {
118         return type;
119     }
120 
121     /**
122      * Sets the artifacts type; defaults to "jar".
123      */
124     public void setType( String type )
125     {
126         this.type = type;
127     }
128 }