Coverage Report - org.apache.maven.plugin.checkstyle.rss.CheckstyleRssGeneratorRequest
 
Classes in this File Line Coverage Branch Coverage Complexity
CheckstyleRssGeneratorRequest
55%
10/18
N/A
1
 
 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  
 /**
 29  
  * @author Olivier Lamy
 30  
  * @since 2.4
 31  
  *
 32  
  */
 33  
 public class CheckstyleRssGeneratorRequest
 34  
 {
 35  
     private MavenProject mavenProject;
 36  
 
 37  
     private String copyright;
 38  
 
 39  
     private File outputDirectory;
 40  
     
 41  
     private Log log;
 42  
 
 43  
     public CheckstyleRssGeneratorRequest( MavenProject mavenProject, String copyright, File outputDirectory, Log log )
 44  16
     {
 45  16
         this.mavenProject = mavenProject;
 46  16
         this.copyright = copyright;
 47  16
         this.outputDirectory = outputDirectory;
 48  16
         this.log = log;
 49  16
     }
 50  
 
 51  
     public MavenProject getMavenProject()
 52  
     {
 53  16
         return mavenProject;
 54  
     }
 55  
 
 56  
     public void setMavenProject( MavenProject mavenProject )
 57  
     {
 58  0
         this.mavenProject = mavenProject;
 59  0
     }
 60  
 
 61  
     public String getCopyright()
 62  
     {
 63  16
         return copyright;
 64  
     }
 65  
 
 66  
     public void setCopyright( String copyright )
 67  
     {
 68  0
         this.copyright = copyright;
 69  0
     }
 70  
 
 71  
     public File getOutputDirectory()
 72  
     {
 73  16
         return outputDirectory;
 74  
     }
 75  
 
 76  
     public void setOutputDirectory( File outputDirectory )
 77  
     {
 78  0
         this.outputDirectory = outputDirectory;
 79  0
     }
 80  
 
 81  
     public Log getLog()
 82  
     {
 83  16
         return log;
 84  
     }
 85  
 
 86  
     public void setLog( Log log )
 87  
     {
 88  0
         this.log = log;
 89  0
     }
 90  
 
 91  
 }