Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Settings |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.1 on 2012-04-29 21:25:48, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.scm.providers.gitlib.settings; | |
9 | ||
10 | /** | |
11 | * Class Settings. | |
12 | * | |
13 | * @version $Revision$ $Date$ | |
14 | */ | |
15 | @SuppressWarnings( "all" ) | |
16 | 0 | public class Settings |
17 | implements java.io.Serializable | |
18 | { | |
19 | ||
20 | //--------------------------/ | |
21 | //- Class/Member Variables -/ | |
22 | //--------------------------/ | |
23 | ||
24 | /** | |
25 | * | |
26 | * git format allowed by changelog command. | |
27 | * | |
28 | */ | |
29 | 0 | private String revParseDateFormat = "yyyy-MM-dd HH:mm:ss"; |
30 | ||
31 | /** | |
32 | * | |
33 | * Traces the execution of a git command. | |
34 | * could be 1,2, true or a file location | |
35 | * . | |
36 | */ | |
37 | 0 | private String traceGitCommand = ""; |
38 | ||
39 | /** | |
40 | * use the option --no-verify (can prevent trailing whitespace | |
41 | * issue with cygwin). | |
42 | */ | |
43 | 0 | private boolean commitNoVerify = false; |
44 | ||
45 | /** | |
46 | * Field modelEncoding. | |
47 | */ | |
48 | 0 | private String modelEncoding = "UTF-8"; |
49 | ||
50 | ||
51 | //-----------/ | |
52 | //- Methods -/ | |
53 | //-----------/ | |
54 | ||
55 | /** | |
56 | * Get the modelEncoding field. | |
57 | * | |
58 | * @return String | |
59 | */ | |
60 | public String getModelEncoding() | |
61 | { | |
62 | 0 | return this.modelEncoding; |
63 | } //-- String getModelEncoding() | |
64 | ||
65 | /** | |
66 | * Get git format allowed by changelog command. | |
67 | * | |
68 | * @return String | |
69 | */ | |
70 | public String getRevParseDateFormat() | |
71 | { | |
72 | 0 | return this.revParseDateFormat; |
73 | } //-- String getRevParseDateFormat() | |
74 | ||
75 | /** | |
76 | * Get traces the execution of a git command. | |
77 | * could be 1,2, true or a file location. | |
78 | * | |
79 | * @return String | |
80 | */ | |
81 | public String getTraceGitCommand() | |
82 | { | |
83 | 0 | return this.traceGitCommand; |
84 | } //-- String getTraceGitCommand() | |
85 | ||
86 | /** | |
87 | * Get use the option --no-verify (can prevent trailing | |
88 | * whitespace issue with cygwin). | |
89 | * | |
90 | * @return boolean | |
91 | */ | |
92 | public boolean isCommitNoVerify() | |
93 | { | |
94 | 0 | return this.commitNoVerify; |
95 | } //-- boolean isCommitNoVerify() | |
96 | ||
97 | /** | |
98 | * Set use the option --no-verify (can prevent trailing | |
99 | * whitespace issue with cygwin). | |
100 | * | |
101 | * @param commitNoVerify | |
102 | */ | |
103 | public void setCommitNoVerify( boolean commitNoVerify ) | |
104 | { | |
105 | 0 | this.commitNoVerify = commitNoVerify; |
106 | 0 | } //-- void setCommitNoVerify( boolean ) |
107 | ||
108 | /** | |
109 | * Set the modelEncoding field. | |
110 | * | |
111 | * @param modelEncoding | |
112 | */ | |
113 | public void setModelEncoding( String modelEncoding ) | |
114 | { | |
115 | 0 | this.modelEncoding = modelEncoding; |
116 | 0 | } //-- void setModelEncoding( String ) |
117 | ||
118 | /** | |
119 | * Set git format allowed by changelog command. | |
120 | * | |
121 | * @param revParseDateFormat | |
122 | */ | |
123 | public void setRevParseDateFormat( String revParseDateFormat ) | |
124 | { | |
125 | 0 | this.revParseDateFormat = revParseDateFormat; |
126 | 0 | } //-- void setRevParseDateFormat( String ) |
127 | ||
128 | /** | |
129 | * Set traces the execution of a git command. | |
130 | * could be 1,2, true or a file location. | |
131 | * | |
132 | * @param traceGitCommand | |
133 | */ | |
134 | public void setTraceGitCommand( String traceGitCommand ) | |
135 | { | |
136 | 0 | this.traceGitCommand = traceGitCommand; |
137 | 0 | } //-- void setTraceGitCommand( String ) |
138 | ||
139 | } |