001 /* 002 =================== DO NOT EDIT THIS FILE ==================== 003 Generated by Modello 1.1 on 2012-09-08 17:43:51, 004 any modifications will be overwritten. 005 ============================================================== 006 */ 007 008 package org.apache.maven.scm.providers.gitlib.settings; 009 010 /** 011 * Class Settings. 012 * 013 * @version $Revision$ $Date$ 014 */ 015 @SuppressWarnings( "all" ) 016 public class Settings 017 implements java.io.Serializable 018 { 019 020 //--------------------------/ 021 //- Class/Member Variables -/ 022 //--------------------------/ 023 024 /** 025 * 026 * git format allowed by changelog command. 027 * 028 */ 029 private String revParseDateFormat = "yyyy-MM-dd HH:mm:ss"; 030 031 /** 032 * 033 * Traces the execution of a git command. 034 * could be 1,2, true or a file location 035 * . 036 */ 037 private String traceGitCommand = ""; 038 039 /** 040 * use the option --no-verify (can prevent trailing whitespace 041 * issue with cygwin). 042 */ 043 private boolean commitNoVerify = false; 044 045 /** 046 * Field modelEncoding. 047 */ 048 private String modelEncoding = "UTF-8"; 049 050 051 //-----------/ 052 //- Methods -/ 053 //-----------/ 054 055 /** 056 * Get the modelEncoding field. 057 * 058 * @return String 059 */ 060 public String getModelEncoding() 061 { 062 return this.modelEncoding; 063 } //-- String getModelEncoding() 064 065 /** 066 * Get git format allowed by changelog command. 067 * 068 * @return String 069 */ 070 public String getRevParseDateFormat() 071 { 072 return this.revParseDateFormat; 073 } //-- String getRevParseDateFormat() 074 075 /** 076 * Get traces the execution of a git command. 077 * could be 1,2, true or a file location. 078 * 079 * @return String 080 */ 081 public String getTraceGitCommand() 082 { 083 return this.traceGitCommand; 084 } //-- String getTraceGitCommand() 085 086 /** 087 * Get use the option --no-verify (can prevent trailing 088 * whitespace issue with cygwin). 089 * 090 * @return boolean 091 */ 092 public boolean isCommitNoVerify() 093 { 094 return this.commitNoVerify; 095 } //-- boolean isCommitNoVerify() 096 097 /** 098 * Set use the option --no-verify (can prevent trailing 099 * whitespace issue with cygwin). 100 * 101 * @param commitNoVerify 102 */ 103 public void setCommitNoVerify( boolean commitNoVerify ) 104 { 105 this.commitNoVerify = commitNoVerify; 106 } //-- void setCommitNoVerify( boolean ) 107 108 /** 109 * Set the modelEncoding field. 110 * 111 * @param modelEncoding 112 */ 113 public void setModelEncoding( String modelEncoding ) 114 { 115 this.modelEncoding = modelEncoding; 116 } //-- 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 this.revParseDateFormat = revParseDateFormat; 126 } //-- 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 this.traceGitCommand = traceGitCommand; 137 } //-- void setTraceGitCommand( String ) 138 139 }