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  
 import java.io.File;
 4  
 
 5  
 import org.apache.maven.plugin.logging.Log;
 6  
 import org.apache.maven.project.MavenProject;
 7  
 
 8  
 /*
 9  
  * Licensed to the Apache Software Foundation (ASF) under one
 10  
  * or more contributor license agreements.  See the NOTICE file
 11  
  * distributed with this work for additional information
 12  
  * regarding copyright ownership.  The ASF licenses this file
 13  
  * to you under the Apache License, Version 2.0 (the
 14  
  * "License"); you may not use this file except in compliance
 15  
  * with the License.  You may obtain a copy of the License at
 16  
  *
 17  
  *   http://www.apache.org/licenses/LICENSE-2.0
 18  
  *
 19  
  * Unless required by applicable law or agreed to in writing,
 20  
  * software distributed under the License is distributed on an
 21  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 22  
  * KIND, either express or implied.  See the License for the
 23  
  * specific language governing permissions and limitations
 24  
  * under the License.
 25  
  */
 26  
 
 27  
 /**
 28  
  * @author Olivier Lamy
 29  
  * @since 2.4
 30  
  *
 31  
  */
 32  
 public class CheckstyleRssGeneratorRequest
 33  
 {
 34  
     private MavenProject mavenProject;
 35  
 
 36  
     private String copyright;
 37  
 
 38  
     private File outputDirectory;
 39  
     
 40  
     private Log log;
 41  
 
 42  
     public CheckstyleRssGeneratorRequest( MavenProject mavenProject, String copyright, File outputDirectory, Log log )
 43  7
     {
 44  7
         this.mavenProject = mavenProject;
 45  7
         this.copyright = copyright;
 46  7
         this.outputDirectory = outputDirectory;
 47  7
         this.log = log;
 48  7
     }
 49  
 
 50  
     public MavenProject getMavenProject()
 51  
     {
 52  7
         return mavenProject;
 53  
     }
 54  
 
 55  
     public void setMavenProject( MavenProject mavenProject )
 56  
     {
 57  0
         this.mavenProject = mavenProject;
 58  0
     }
 59  
 
 60  
     public String getCopyright()
 61  
     {
 62  7
         return copyright;
 63  
     }
 64  
 
 65  
     public void setCopyright( String copyright )
 66  
     {
 67  0
         this.copyright = copyright;
 68  0
     }
 69  
 
 70  
     public File getOutputDirectory()
 71  
     {
 72  7
         return outputDirectory;
 73  
     }
 74  
 
 75  
     public void setOutputDirectory( File outputDirectory )
 76  
     {
 77  0
         this.outputDirectory = outputDirectory;
 78  0
     }
 79  
 
 80  
     public Log getLog()
 81  
     {
 82  7
         return log;
 83  
     }
 84  
 
 85  
     public void setLog( Log log )
 86  
     {
 87  0
         this.log = log;
 88  0
     }
 89  
 
 90  
 }