View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 2.1.2,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.buildcache.xml.config;
7   
8   /**
9    * Cache build metadata.
10   * 
11   * @version $Revision$ $Date$
12   */
13  @SuppressWarnings( "all" )
14  public class CacheConfig
15      implements java.io.Serializable
16  {
17  
18        //--------------------------/
19       //- Class/Member Variables -/
20      //--------------------------/
21  
22      /**
23       * Configuration of main cache properties.
24       */
25      private Configuration configuration;
26  
27      /**
28       * Configuration for source code input files participating in
29       * checksum calculation.
30       */
31      private Input input;
32  
33      /**
34       * Configuration for output artifacts, it's needed if you want
35       * to explicitly include/exclude something from caching.
36       */
37      private Output output;
38  
39      /**
40       * Execution rules for plugins in cached mode. Defines which
41       * plugins should run always.
42       */
43      private ExecutionControl executionControl;
44  
45      /**
46       * Field modelEncoding.
47       */
48      private String modelEncoding = "UTF-8";
49  
50  
51        //-----------/
52       //- Methods -/
53      //-----------/
54  
55      /**
56       * Get configuration of main cache properties.
57       * 
58       * @return Configuration
59       */
60      public Configuration getConfiguration()
61      {
62          return this.configuration;
63      } //-- Configuration getConfiguration()
64  
65      /**
66       * Get execution rules for plugins in cached mode. Defines
67       * which plugins should run always.
68       * 
69       * @return ExecutionControl
70       */
71      public ExecutionControl getExecutionControl()
72      {
73          return this.executionControl;
74      } //-- ExecutionControl getExecutionControl()
75  
76      /**
77       * Get configuration for source code input files participating
78       * in checksum calculation.
79       * 
80       * @return Input
81       */
82      public Input getInput()
83      {
84          return this.input;
85      } //-- Input getInput()
86  
87      /**
88       * Get the modelEncoding field.
89       * 
90       * @return String
91       */
92      public String getModelEncoding()
93      {
94          return this.modelEncoding;
95      } //-- String getModelEncoding()
96  
97      /**
98       * Get configuration for output artifacts, it's needed if you
99       * want to explicitly include/exclude something from caching.
100      * 
101      * @return Output
102      */
103     public Output getOutput()
104     {
105         return this.output;
106     } //-- Output getOutput()
107 
108     /**
109      * Set configuration of main cache properties.
110      * 
111      * @param configuration a configuration object.
112      */
113     public void setConfiguration( Configuration configuration )
114     {
115         this.configuration = configuration;
116     } //-- void setConfiguration( Configuration )
117 
118     /**
119      * Set execution rules for plugins in cached mode. Defines
120      * which plugins should run always.
121      * 
122      * @param executionControl a executionControl object.
123      */
124     public void setExecutionControl( ExecutionControl executionControl )
125     {
126         this.executionControl = executionControl;
127     } //-- void setExecutionControl( ExecutionControl )
128 
129     /**
130      * Set configuration for source code input files participating
131      * in checksum calculation.
132      * 
133      * @param input a input object.
134      */
135     public void setInput( Input input )
136     {
137         this.input = input;
138     } //-- void setInput( Input )
139 
140     /**
141      * Set the modelEncoding field.
142      * 
143      * @param modelEncoding a modelEncoding object.
144      */
145     public void setModelEncoding( String modelEncoding )
146     {
147         this.modelEncoding = modelEncoding;
148     } //-- void setModelEncoding( String )
149 
150     /**
151      * Set configuration for output artifacts, it's needed if you
152      * want to explicitly include/exclude something from caching.
153      * 
154      * @param output a output object.
155      */
156     public void setOutput( Output output )
157     {
158         this.output = output;
159     } //-- void setOutput( Output )
160 
161 }