View Javadoc
1   package org.apache.maven.plugin.checkstyle.rss;
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  import java.io.File;
23  
24  import org.apache.maven.plugin.logging.Log;
25  import org.apache.maven.project.MavenProject;
26  
27  /**
28   * @author Olivier Lamy
29   * @since 2.4
30   */
31  public class CheckstyleRssGeneratorRequest
32  {
33      private MavenProject mavenProject;
34  
35      private String copyright;
36  
37      private File outputDirectory;
38      
39      private Log log;
40  
41      public CheckstyleRssGeneratorRequest( MavenProject mavenProject, String copyright, File outputDirectory, Log log )
42      {
43          this.mavenProject = mavenProject;
44          this.copyright = copyright;
45          this.outputDirectory = outputDirectory;
46          this.log = log;
47      }
48  
49      public MavenProject getMavenProject()
50      {
51          return mavenProject;
52      }
53  
54      public void setMavenProject( MavenProject mavenProject )
55      {
56          this.mavenProject = mavenProject;
57      }
58  
59      public String getCopyright()
60      {
61          return copyright;
62      }
63  
64      public void setCopyright( String copyright )
65      {
66          this.copyright = copyright;
67      }
68  
69      public File getOutputDirectory()
70      {
71          return outputDirectory;
72      }
73  
74      public void setOutputDirectory( File outputDirectory )
75      {
76          this.outputDirectory = outputDirectory;
77      }
78  
79      public Log getLog()
80      {
81          return log;
82      }
83  
84      public void setLog( Log log )
85      {
86          this.log = log;
87      }
88  
89  }