001 package org.apache.maven.scm.provider.vss.commands;
002
003 /*
004 * Licensed to the Apache Software Foundation (ASF) under one
005 * or more contributor license agreements. See the NOTICE file
006 * distributed with this work for additional information
007 * regarding copyright ownership. The ASF licenses this file
008 * to you under the Apache License, Version 2.0 (the
009 * "License"); you may not use this file except in compliance
010 * with the License. You may obtain a copy of the License at
011 *
012 * http://www.apache.org/licenses/LICENSE-2.0
013 *
014 * Unless required by applicable law or agreed to in writing,
015 * software distributed under the License is distributed on an
016 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017 * KIND, either express or implied. See the License for the
018 * specific language governing permissions and limitations
019 * under the License.
020 */
021
022 /**
023 * Holds all the constants for the VSS tasks.
024 *
025 *
026 */
027 public final class VssConstants
028 {
029
030 private VssConstants()
031 {
032 }
033
034 /**
035 * Constant for the thing to execute
036 */
037 public static final String SS_EXE = "ss";
038
039 /**
040 * Dollar Sigh to prefix the project path
041 */
042 public static final String PROJECT_PREFIX = "$";
043
044 /**
045 * The 'CP' command
046 */
047 public static final String COMMAND_CP = "CP";
048
049 /**
050 * The 'Add' command
051 */
052 public static final String COMMAND_ADD = "Add";
053
054 /**
055 * The 'Get' command
056 */
057 public static final String COMMAND_GET = "Get";
058
059 /**
060 * The 'Checkout' command
061 */
062 public static final String COMMAND_CHECKOUT = "Checkout";
063
064 /**
065 * The 'Checkin' command
066 */
067 public static final String COMMAND_CHECKIN = "Checkin";
068
069 /**
070 * The 'Label' command
071 */
072 public static final String COMMAND_LABEL = "Label";
073
074 /**
075 * The 'History' command
076 */
077 public static final String COMMAND_HISTORY = "History";
078
079 /**
080 * The 'Create' command
081 */
082 public static final String COMMAND_CREATE = "Create";
083
084 /**
085 * The 'Status' command
086 */
087 public static final String COMMAND_DIFF = "Diff";
088
089 /**
090 * The 'Status' command
091 */
092 public static final String COMMAND_STATUS = "Status";
093
094 /**
095 * The brief style flag
096 */
097 public static final String STYLE_BRIEF = "brief";
098
099 /**
100 * The codediff style flag
101 */
102 public static final String STYLE_CODEDIFF = "codediff";
103
104 /**
105 * The nofile style flag
106 */
107 public static final String STYLE_NOFILE = "nofile";
108
109 /**
110 * The default style flag
111 */
112 public static final String STYLE_DEFAULT = "default";
113
114 /**
115 * The text for current (default) timestamp
116 */
117 public static final String TIME_CURRENT = "current";
118
119 /**
120 * The text for modified timestamp
121 */
122 public static final String TIME_MODIFIED = "modified";
123
124 /**
125 * The text for updated timestamp
126 */
127 public static final String TIME_UPDATED = "updated";
128
129 /**
130 * The text for replacing writable files
131 */
132 public static final String WRITABLE_REPLACE = "replace";
133
134 /**
135 * The text for skiping writable files
136 */
137 public static final String WRITABLE_SKIP = "skip";
138
139 /**
140 * The text for failing on writable files
141 */
142 public static final String WRITABLE_FAIL = "fail";
143
144 public static final String FLAG_LOGIN = "-Y";
145
146 public static final String FLAG_OVERRIDE_WORKING_DIR = "-GL";
147
148 public static final String FLAG_AUTORESPONSE_DEF = "-I-";
149
150 public static final String FLAG_AUTORESPONSE_YES = "-I-Y";
151
152 public static final String FLAG_AUTORESPONSE_NO = "-I-N";
153
154 public static final String FLAG_RECURSION = "-R";
155
156 public static final String FLAG_VERSION = "-V";
157
158 public static final String FLAG_VERSION_DATE = "-Vd";
159
160 public static final String FLAG_VERSION_LABEL = "-VL";
161
162 public static final String FLAG_WRITABLE = "-W";
163
164 public static final String VALUE_NO = "-N";
165
166 public static final String VALUE_YES = "-Y";
167
168 public static final String FLAG_QUIET = "-O-";
169
170 public static final String FLAG_COMMENT = "-C";
171
172 public static final String FLAG_LABEL = "-L";
173
174 public static final String VALUE_FROMDATE = "~d";
175
176 public static final String VALUE_FROMLABEL = "~L";
177
178 public static final String FLAG_OUTPUT = "-O";
179
180 public static final String FLAG_USER = "-U";
181
182 public static final String FLAG_NO_FILE = "-F-";
183
184 public static final String FLAG_BRIEF = "-B";
185
186 public static final String FLAG_CODEDIFF = "-D";
187
188 public static final String FLAG_FILETIME_DEF = "-GTC";
189
190 public static final String FLAG_FILETIME_MODIFIED = "-GTM";
191
192 public static final String FLAG_FILETIME_UPDATED = "-GTU";
193
194 public static final String FLAG_REPLACE_WRITABLE = "-GWR";
195
196 public static final String FLAG_SKIP_WRITABLE = "-GWS";
197
198 public static final String FLAG_NO_GET = "-G-";
199 }