Coverage Report - org.apache.maven.plugin.verifier.model.File
 
Classes in this File Line Coverage Branch Coverage Complexity
File
100%
11/11
N/A
1
 
 1  
 /*
 2  
  =================== DO NOT EDIT THIS FILE ====================
 3  
  Generated by Modello 1.0.1 on 2010-01-21 22:42:55,
 4  
  any modifications will be overwritten.
 5  
  ==============================================================
 6  
  */
 7  
 
 8  
 package org.apache.maven.plugin.verifier.model;
 9  
 
 10  
 /**
 11  
  * Class File.
 12  
  * 
 13  
  * @version $Revision$ $Date$
 14  
  */
 15  12
 public class File
 16  
     implements java.io.Serializable
 17  
 {
 18  
 
 19  
       //--------------------------/
 20  
      //- Class/Member Variables -/
 21  
     //--------------------------/
 22  
 
 23  
     /**
 24  
      * Location of the file or directory to check.
 25  
      */
 26  
     private String location;
 27  
 
 28  
     /**
 29  
      * Check the content against this regular expression.
 30  
      */
 31  
     private String contains;
 32  
 
 33  
     /**
 34  
      * 
 35  
      *             When this is set to <code>true</code> the plugin
 36  
      * checks that the
 37  
      *             file or directory exists. When set to
 38  
      * <code>false</code> it checks
 39  
      *             that the file or directory does
 40  
      * <strong>not</strong> exist.
 41  
      *           
 42  
      */
 43  12
     private boolean exists = true;
 44  
 
 45  
 
 46  
       //-----------/
 47  
      //- Methods -/
 48  
     //-----------/
 49  
 
 50  
     /**
 51  
      * Get check the content against this regular expression.
 52  
      * 
 53  
      * @return String
 54  
      */
 55  
     public String getContains()
 56  
     {
 57  12
         return this.contains;
 58  
     } //-- String getContains()
 59  
 
 60  
     /**
 61  
      * Get location of the file or directory to check.
 62  
      * 
 63  
      * @return String
 64  
      */
 65  
     public String getLocation()
 66  
     {
 67  44
         return this.location;
 68  
     } //-- String getLocation()
 69  
 
 70  
     /**
 71  
      * Get when this is set to <code>true</code> the plugin checks
 72  
      * that the
 73  
      *             file or directory exists. When set to
 74  
      * <code>false</code> it checks
 75  
      *             that the file or directory does
 76  
      * <strong>not</strong> exist.
 77  
      * 
 78  
      * @return boolean
 79  
      */
 80  
     public boolean isExists()
 81  
     {
 82  12
         return this.exists;
 83  
     } //-- boolean isExists()
 84  
 
 85  
     /**
 86  
      * Set check the content against this regular expression.
 87  
      * 
 88  
      * @param contains
 89  
      */
 90  
     public void setContains( String contains )
 91  
     {
 92  4
         this.contains = contains;
 93  4
     } //-- void setContains( String )
 94  
 
 95  
     /**
 96  
      * Set when this is set to <code>true</code> the plugin checks
 97  
      * that the
 98  
      *             file or directory exists. When set to
 99  
      * <code>false</code> it checks
 100  
      *             that the file or directory does
 101  
      * <strong>not</strong> exist.
 102  
      * 
 103  
      * @param exists
 104  
      */
 105  
     public void setExists( boolean exists )
 106  
     {
 107  4
         this.exists = exists;
 108  4
     } //-- void setExists( boolean )
 109  
 
 110  
     /**
 111  
      * Set location of the file or directory to check.
 112  
      * 
 113  
      * @param location
 114  
      */
 115  
     public void setLocation( String location )
 116  
     {
 117  24
         this.location = location;
 118  24
     } //-- void setLocation( String )
 119  
 
 120  
 
 121  
 }