Coverage Report - org.apache.maven.plugins.assembly.model.FileSet
 
Classes in this File Line Coverage Branch Coverage Complexity
FileSet
0%
0/15
N/A
1
 
 1  
 /*
 2  
  * $Id$
 3  
  */
 4  
 
 5  
 package org.apache.maven.plugins.assembly.model;
 6  
 
 7  
 /**
 8  
  * 
 9  
  *         A fileSet allows the inclusion of groups of files into
 10  
  * the assembly.
 11  
  *       
 12  
  * 
 13  
  * @version $Revision$ $Date$
 14  
  */
 15  0
 public class FileSet extends SetBase 
 16  
 implements java.io.Serializable
 17  
 {
 18  
 
 19  
 
 20  
       //--------------------------/
 21  
      //- Class/Member Variables -/
 22  
     //--------------------------/
 23  
 
 24  
     /**
 25  
      * Field directory
 26  
      */
 27  
     private String directory;
 28  
 
 29  
     /**
 30  
      * Field lineEnding
 31  
      */
 32  
     private String lineEnding;
 33  
 
 34  
     /**
 35  
      * Field filtered
 36  
      */
 37  0
     private boolean filtered = false;
 38  
 
 39  
 
 40  
       //-----------/
 41  
      //- Methods -/
 42  
     //-----------/
 43  
 
 44  
     /**
 45  
      * Get 
 46  
      *             Sets the absolute or relative location from the
 47  
      * module's
 48  
      *             directory. For example, "src/main/bin" would
 49  
      * select this
 50  
      *             subdirectory of the project in which this
 51  
      * dependency is defined.
 52  
      *           
 53  
      */
 54  
     public String getDirectory()
 55  
     {
 56  0
         return this.directory;
 57  
     } //-- String getDirectory() 
 58  
 
 59  
     /**
 60  
      * Get 
 61  
      *             
 62  
      *             Sets the line-endings of the files in this
 63  
      * fileSet.
 64  
      *             Valid values:
 65  
      *             <ul>
 66  
      *               <li><b>"keep"</b> - Preserve all line
 67  
      * endings</li>
 68  
      *               <li><b>"unix"</b> - Use Unix-style line
 69  
      * endings</li>
 70  
      *               <li><b>"lf"</b> - Use a single line-feed line
 71  
      * endings</li>
 72  
      *               <li><b>"dos"</b> - Use DOS-style line
 73  
      * endings</li>
 74  
      *               <li><b>"crlf"</b> - Use Carraige-return,
 75  
      * line-feed line endings</li>
 76  
      *             </ul>
 77  
      *             
 78  
      *           
 79  
      */
 80  
     public String getLineEnding()
 81  
     {
 82  0
         return this.lineEnding;
 83  
     } //-- String getLineEnding() 
 84  
 
 85  
     /**
 86  
      * Get 
 87  
      *           Whether to filter symbols in the files as they are
 88  
      * copied, using
 89  
      *           properties from the build configuration.
 90  
      *           
 91  
      */
 92  
     public boolean isFiltered()
 93  
     {
 94  0
         return this.filtered;
 95  
     } //-- boolean isFiltered() 
 96  
 
 97  
     /**
 98  
      * Set 
 99  
      *             Sets the absolute or relative location from the
 100  
      * module's
 101  
      *             directory. For example, "src/main/bin" would
 102  
      * select this
 103  
      *             subdirectory of the project in which this
 104  
      * dependency is defined.
 105  
      *           
 106  
      * 
 107  
      * @param directory
 108  
      */
 109  
     public void setDirectory(String directory)
 110  
     {
 111  0
         this.directory = directory;
 112  0
     } //-- void setDirectory(String) 
 113  
 
 114  
     /**
 115  
      * Set 
 116  
      *           Whether to filter symbols in the files as they are
 117  
      * copied, using
 118  
      *           properties from the build configuration.
 119  
      *           
 120  
      * 
 121  
      * @param filtered
 122  
      */
 123  
     public void setFiltered(boolean filtered)
 124  
     {
 125  0
         this.filtered = filtered;
 126  0
     } //-- void setFiltered(boolean) 
 127  
 
 128  
     /**
 129  
      * Set 
 130  
      *             
 131  
      *             Sets the line-endings of the files in this
 132  
      * fileSet.
 133  
      *             Valid values:
 134  
      *             <ul>
 135  
      *               <li><b>"keep"</b> - Preserve all line
 136  
      * endings</li>
 137  
      *               <li><b>"unix"</b> - Use Unix-style line
 138  
      * endings</li>
 139  
      *               <li><b>"lf"</b> - Use a single line-feed line
 140  
      * endings</li>
 141  
      *               <li><b>"dos"</b> - Use DOS-style line
 142  
      * endings</li>
 143  
      *               <li><b>"crlf"</b> - Use Carraige-return,
 144  
      * line-feed line endings</li>
 145  
      *             </ul>
 146  
      *             
 147  
      *           
 148  
      * 
 149  
      * @param lineEnding
 150  
      */
 151  
     public void setLineEnding(String lineEnding)
 152  
     {
 153  0
         this.lineEnding = lineEnding;
 154  0
     } //-- void setLineEnding(String) 
 155  
 
 156  
 
 157  0
     private String modelEncoding = "UTF-8";
 158  
 
 159  
     public void setModelEncoding( String modelEncoding )
 160  
     {
 161  0
         this.modelEncoding = modelEncoding;
 162  0
     }
 163  
 
 164  
     public String getModelEncoding()
 165  
     {
 166  0
         return modelEncoding;
 167  
     }}