View Javadoc
1   /*
2    Licensed to the Apache Software Foundation (ASF) under one
3    or more contributor license agreements.  See the NOTICE file
4    distributed with this work for additional information
5    regarding copyright ownership.  The ASF licenses this file
6    to you under the Apache License, Version 2.0 (the
7    "License"); you may not use this file except in compliance
8    with the License.  You may obtain a copy of the License at
9    
10       http://www.apache.org/licenses/LICENSE-2.0
11   
12   Unless required by applicable law or agreed to in writing,
13   software distributed under the License is distributed on an
14   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   KIND, either express or implied.  See the License for the
16   specific language governing permissions and limitations
17   under the License.
18   =================== DO NOT EDIT THIS FILE ====================
19   Generated by Modello 2.5.1,
20   any modifications will be overwritten.
21   ==============================================================
22   */
23  
24  package org.apache.maven.scm.providers.gitlib.settings;
25  
26  /**
27   * Class Settings.
28   * 
29   * @version $Revision$ $Date$
30   */
31  @SuppressWarnings( "all" )
32  public class Settings
33      implements java.io.Serializable
34  {
35  
36        //--------------------------/
37       //- Class/Member Variables -/
38      //--------------------------/
39  
40      /**
41       * 
42       *              git format allowed by changelog command.
43       *           
44       */
45      private String revParseDateFormat = "yyyy-MM-dd HH:mm:ss";
46  
47      /**
48       * 
49       *              Traces the execution of a git command.
50       *              could be 1,2, true or a file location
51       *           .
52       */
53      private String traceGitCommand = "";
54  
55      /**
56       * 
57       *              The actual name of the git executable
58       *           .
59       */
60      private String gitCommand = "git";
61  
62      /**
63       * use the option --no-verify (can prevent trailing whitespace
64       * issue with cygwin).
65       */
66      private boolean commitNoVerify = false;
67  
68      /**
69       * Field modelEncoding.
70       */
71      private String modelEncoding = "UTF-8";
72  
73  
74        //-----------/
75       //- Methods -/
76      //-----------/
77  
78      /**
79       * Get the actual name of the git executable.
80       * 
81       * @return String
82       */
83      public String getGitCommand()
84      {
85          return this.gitCommand;
86      } //-- String getGitCommand()
87  
88      /**
89       * Get the modelEncoding field.
90       * 
91       * @return String
92       */
93      public String getModelEncoding()
94      {
95          return this.modelEncoding;
96      } //-- String getModelEncoding()
97  
98      /**
99       * Get git format allowed by changelog command.
100      * 
101      * @return String
102      */
103     public String getRevParseDateFormat()
104     {
105         return this.revParseDateFormat;
106     } //-- String getRevParseDateFormat()
107 
108     /**
109      * Get traces the execution of a git command.
110      *              could be 1,2, true or a file location.
111      * 
112      * @return String
113      */
114     public String getTraceGitCommand()
115     {
116         return this.traceGitCommand;
117     } //-- String getTraceGitCommand()
118 
119     /**
120      * Get use the option --no-verify (can prevent trailing
121      * whitespace issue with cygwin).
122      * 
123      * @return boolean
124      */
125     public boolean isCommitNoVerify()
126     {
127         return this.commitNoVerify;
128     } //-- boolean isCommitNoVerify()
129 
130     /**
131      * Set use the option --no-verify (can prevent trailing
132      * whitespace issue with cygwin).
133      * 
134      * @param commitNoVerify a commitNoVerify object.
135      */
136     public void setCommitNoVerify( boolean commitNoVerify )
137     {
138         this.commitNoVerify = commitNoVerify;
139     } //-- void setCommitNoVerify( boolean )
140 
141     /**
142      * Set the actual name of the git executable.
143      * 
144      * @param gitCommand a gitCommand object.
145      */
146     public void setGitCommand( String gitCommand )
147     {
148         this.gitCommand = gitCommand;
149     } //-- void setGitCommand( String )
150 
151     /**
152      * Set the modelEncoding field.
153      * 
154      * @param modelEncoding a modelEncoding object.
155      */
156     public void setModelEncoding( String modelEncoding )
157     {
158         this.modelEncoding = modelEncoding;
159     } //-- void setModelEncoding( String )
160 
161     /**
162      * Set git format allowed by changelog command.
163      * 
164      * @param revParseDateFormat a revParseDateFormat object.
165      */
166     public void setRevParseDateFormat( String revParseDateFormat )
167     {
168         this.revParseDateFormat = revParseDateFormat;
169     } //-- void setRevParseDateFormat( String )
170 
171     /**
172      * Set traces the execution of a git command.
173      *              could be 1,2, true or a file location.
174      * 
175      * @param traceGitCommand a traceGitCommand object.
176      */
177     public void setTraceGitCommand( String traceGitCommand )
178     {
179         this.traceGitCommand = traceGitCommand;
180     } //-- void setTraceGitCommand( String )
181 
182 }