1 package org.apache.maven.scm;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.io.Serializable;
23
24
25
26
27
28 public class CommandParameter
29 implements Serializable
30 {
31 private static final long serialVersionUID = -3391190831054016735L;
32
33 public static final CommandParameter BINARY = new CommandParameter( "binary" );
34
35 public static final CommandParameter RECURSIVE = new CommandParameter( "recursive" );
36
37 public static final CommandParameter SHALLOW = new CommandParameter( "shallow" );
38
39 public static final CommandParameter MESSAGE = new CommandParameter( "message" );
40
41 public static final CommandParameter BRANCH_NAME = new CommandParameter( "branchName" );
42
43 public static final CommandParameter START_DATE = new CommandParameter( "startDate" );
44
45 public static final CommandParameter END_DATE = new CommandParameter( "endDate" );
46
47 public static final CommandParameter NUM_DAYS = new CommandParameter( "numDays" );
48
49 public static final CommandParameter LIMIT = new CommandParameter( "limit" );
50
51 public static final CommandParameter BRANCH = new CommandParameter( "branch" );
52
53 public static final CommandParameter START_SCM_VERSION = new CommandParameter( "startScmVersion" );
54
55 public static final CommandParameter END_SCM_VERSION = new CommandParameter( "endScmVersion" );
56
57 public static final CommandParameter CHANGELOG_DATE_PATTERN = new CommandParameter( "changelogDatePattern" );
58
59 public static final CommandParameter SCM_VERSION = new CommandParameter( "scmVersion" );
60
61 public static final CommandParameter TAG_NAME = new CommandParameter( "tagName" );
62
63 public static final CommandParameter FILE = new CommandParameter( "file" );
64
65 public static final CommandParameter FILES = new CommandParameter( "files" );
66
67 public static final CommandParameter OUTPUT_FILE = new CommandParameter( "outputFile" );
68
69 public static final CommandParameter OUTPUT_DIRECTORY = new CommandParameter( "outputDirectory" );
70
71 public static final CommandParameter RUN_CHANGELOG_WITH_UPDATE =
72 new CommandParameter( "run_changelog_with_update" );
73
74 public static final CommandParameter SCM_TAG_PARAMETERS = new CommandParameter( "ScmTagParameters" );
75
76 public static final CommandParameter SCM_BRANCH_PARAMETERS = new CommandParameter( "ScmBranchParameters" );
77
78 public static final CommandParameter SCM_MKDIR_CREATE_IN_LOCAL = new CommandParameter( "createInLocal" );
79
80
81
82
83
84
85 public static final CommandParameter SCM_SHORT_REVISION_LENGTH = new CommandParameter( "shortRevisionLength" );
86
87
88
89
90
91
92 public static final CommandParameter FORCE_ADD = new CommandParameter( "forceAdd" );
93
94
95
96
97
98 public static final CommandParameter IGNORE_WHITESPACE = new CommandParameter( "ignoreWhitespace" );
99
100
101
102
103
104 private String name;
105
106
107
108
109 private CommandParameter( String name )
110 {
111 this.name = name;
112 }
113
114
115
116
117 public String getName()
118 {
119 return name;
120 }
121
122 public String toString()
123 {
124 return name;
125 }
126 }