001/*
002 Licensed to the Apache Software Foundation (ASF) under one
003 or more contributor license agreements.  See the NOTICE file
004 distributed with this work for additional information
005 regarding copyright ownership.  The ASF licenses this file
006 to you under the Apache License, Version 2.0 (the
007 "License"); you may not use this file except in compliance
008 with the License.  You may obtain a copy of the License at
009 
010     http://www.apache.org/licenses/LICENSE-2.0
011 
012 Unless required by applicable law or agreed to in writing,
013 software distributed under the License is distributed on an
014 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015 KIND, either express or implied.  See the License for the
016 specific language governing permissions and limitations
017 under the License.
018 =================== DO NOT EDIT THIS FILE ====================
019 Generated by Modello 2.5.1,
020 any modifications will be overwritten.
021 ==============================================================
022 */
023
024package org.apache.maven.scm.providers.gitlib.settings;
025
026/**
027 * Class Settings.
028 * 
029 * @version $Revision$ $Date$
030 */
031@SuppressWarnings( "all" )
032public class Settings
033    implements java.io.Serializable
034{
035
036      //--------------------------/
037     //- Class/Member Variables -/
038    //--------------------------/
039
040    /**
041     * 
042     *              git format allowed by changelog command.
043     *           
044     */
045    private String revParseDateFormat = "yyyy-MM-dd HH:mm:ss";
046
047    /**
048     * 
049     *              Traces the execution of a git command.
050     *              could be 1,2, true or a file location
051     *           .
052     */
053    private String traceGitCommand = "";
054
055    /**
056     * 
057     *              The actual name of the git executable
058     *           .
059     */
060    private String gitCommand = "git";
061
062    /**
063     * use the option --no-verify (can prevent trailing whitespace
064     * issue with cygwin).
065     */
066    private boolean commitNoVerify = false;
067
068    /**
069     * Field modelEncoding.
070     */
071    private String modelEncoding = "UTF-8";
072
073
074      //-----------/
075     //- Methods -/
076    //-----------/
077
078    /**
079     * Get the actual name of the git executable.
080     * 
081     * @return String
082     */
083    public String getGitCommand()
084    {
085        return this.gitCommand;
086    } //-- String getGitCommand()
087
088    /**
089     * Get the modelEncoding field.
090     * 
091     * @return String
092     */
093    public String getModelEncoding()
094    {
095        return this.modelEncoding;
096    } //-- String getModelEncoding()
097
098    /**
099     * 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}