View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 1.8.1,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.plugin.verifier.model;
7   
8   /**
9    * Root element of the verifications file.
10   * 
11   * @version $Revision$ $Date$
12   */
13  @SuppressWarnings( "all" )
14  public class Verifications
15      implements java.io.Serializable
16  {
17  
18        //--------------------------/
19       //- Class/Member Variables -/
20      //--------------------------/
21  
22      /**
23       * Field files.
24       */
25      private java.util.List<File> files;
26  
27      /**
28       * Field modelEncoding.
29       */
30      private String modelEncoding = "UTF-8";
31  
32  
33        //-----------/
34       //- Methods -/
35      //-----------/
36  
37      /**
38       * Method addFile.
39       * 
40       * @param file
41       */
42      public void addFile( File file )
43      {
44          getFiles().add( file );
45      } //-- void addFile( File )
46  
47      /**
48       * Method getFiles.
49       * 
50       * @return List
51       */
52      public java.util.List<File> getFiles()
53      {
54          if ( this.files == null )
55          {
56              this.files = new java.util.ArrayList<File>();
57          }
58  
59          return this.files;
60      } //-- java.util.List<File> getFiles()
61  
62      /**
63       * Get the modelEncoding field.
64       * 
65       * @return String
66       */
67      public String getModelEncoding()
68      {
69          return this.modelEncoding;
70      } //-- String getModelEncoding()
71  
72      /**
73       * Method removeFile.
74       * 
75       * @param file
76       */
77      public void removeFile( File file )
78      {
79          getFiles().remove( file );
80      } //-- void removeFile( File )
81  
82      /**
83       * Set list of files and directories to check.
84       * 
85       * @param files
86       */
87      public void setFiles( java.util.List<File> files )
88      {
89          this.files = files;
90      } //-- void setFiles( java.util.List )
91  
92      /**
93       * Set the modelEncoding field.
94       * 
95       * @param modelEncoding
96       */
97      public void setModelEncoding( String modelEncoding )
98      {
99          this.modelEncoding = modelEncoding;
100     } //-- void setModelEncoding( String )
101 
102 }