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 * Class ProjectVersioning.
10 *
11 * @version $Revision$ $Date$
12 */
13 @SuppressWarnings( "all" )
14 public class ProjectVersioning
15 implements java.io.Serializable
16 {
17
18 //--------------------------/
19 //- Class/Member Variables -/
20 //--------------------------/
21
22 /**
23 * Determines whether version in metadata must be changed
24 * according to building project version.
25 */
26 private boolean adjustMetaInf = false;
27
28 /**
29 * Determines whether project version should be included to
30 * calculate checksum input.
31 */
32 private boolean calculateProjectVersionChecksum = false;
33
34
35 //-----------/
36 //- Methods -/
37 //-----------/
38
39 /**
40 * Get determines whether version in metadata must be changed
41 * according to building project version.
42 *
43 * @return boolean
44 */
45 public boolean isAdjustMetaInf()
46 {
47 return this.adjustMetaInf;
48 } //-- boolean isAdjustMetaInf()
49
50 /**
51 * Get determines whether project version should be included to
52 * calculate checksum input.
53 *
54 * @return boolean
55 */
56 public boolean isCalculateProjectVersionChecksum()
57 {
58 return this.calculateProjectVersionChecksum;
59 } //-- boolean isCalculateProjectVersionChecksum()
60
61 /**
62 * Set determines whether version in metadata must be changed
63 * according to building project version.
64 *
65 * @param adjustMetaInf a adjustMetaInf object.
66 */
67 public void setAdjustMetaInf( boolean adjustMetaInf )
68 {
69 this.adjustMetaInf = adjustMetaInf;
70 } //-- void setAdjustMetaInf( boolean )
71
72 /**
73 * Set determines whether project version should be included to
74 * calculate checksum input.
75 *
76 * @param calculateProjectVersionChecksum a
77 * calculateProjectVersionChecksum object.
78 */
79 public void setCalculateProjectVersionChecksum( boolean calculateProjectVersionChecksum )
80 {
81 this.calculateProjectVersionChecksum = calculateProjectVersionChecksum;
82 } //-- void setCalculateProjectVersionChecksum( boolean )
83
84 }