1   package org.apache.maven.artifact.handler;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *  http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  public class ArtifactHandlerMock
23      implements ArtifactHandler
24  {
25  
26      private String extension, directory, classifier, packaging, language;
27  
28      private boolean includesDependencies, addedToClasspath;
29  
30      public void setExtension( String extension )
31      {
32          this.extension = extension;
33      }
34  
35      public String getExtension()
36      {
37          return extension;
38      }
39  
40      public void setDirectory( String directory )
41      {
42          this.directory = directory;
43      }
44  
45      public String getDirectory()
46      {
47          return directory;
48      }
49  
50      public void setClassifier( String classifier )
51      {
52          this.classifier = classifier;
53      }
54  
55      public String getClassifier()
56      {
57          return classifier;
58      }
59  
60      public void setPackaging( String packaging )
61      {
62          this.packaging = packaging;
63      }
64  
65      public String getPackaging()
66      {
67          return packaging;
68      }
69  
70      public void setIncludesDependencies( boolean includesDependencies )
71      {
72          this.includesDependencies = includesDependencies;
73      }
74  
75      public boolean isIncludesDependencies()
76      {
77          return includesDependencies;
78      }
79  
80      public void setLanguage( String language )
81      {
82          this.language = language;
83      }
84  
85      public String getLanguage()
86      {
87          return language;
88      }
89  
90      public void setAddedToClasspath( boolean addedToClasspath )
91      {
92          this.addedToClasspath = addedToClasspath;
93      }
94  
95      public boolean isAddedToClasspath()
96      {
97          return addedToClasspath;
98      }
99  
100 }