View Javadoc
1   package org.apache.maven.scm.provider.vss.commands;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   * http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  /**
23   * Holds all the constants for the VSS tasks.
24   *
25   *
26   */
27  public final class VssConstants
28  {
29  
30      private VssConstants()
31      {
32      }
33  
34      /**
35       * Constant for the thing to execute
36       */
37      public static final String SS_EXE = "ss";
38  
39      /**
40       * Dollar Sigh to prefix the project path
41       */
42      public static final String PROJECT_PREFIX = "$";
43  
44      /**
45       * The 'CP' command
46       */
47      public static final String COMMAND_CP = "CP";
48  
49      /**
50       * The 'Add' command
51       */
52      public static final String COMMAND_ADD = "Add";
53  
54      /**
55       * The 'Get' command
56       */
57      public static final String COMMAND_GET = "Get";
58  
59      /**
60       * The 'Checkout' command
61       */
62      public static final String COMMAND_CHECKOUT = "Checkout";
63  
64      /**
65       * The 'Checkin' command
66       */
67      public static final String COMMAND_CHECKIN = "Checkin";
68  
69      /**
70       * The 'Label' command
71       */
72      public static final String COMMAND_LABEL = "Label";
73  
74      /**
75       * The 'History' command
76       */
77      public static final String COMMAND_HISTORY = "History";
78  
79      /**
80       * The 'Create' command
81       */
82      public static final String COMMAND_CREATE = "Create";
83  
84      /**
85       * The 'Status' command
86       */
87      public static final String COMMAND_DIFF = "Diff";
88  
89      /**
90       * The 'Status' command
91       */
92      public static final String COMMAND_STATUS = "Status";
93  
94      /**
95       * The brief style flag
96       */
97      public static final String STYLE_BRIEF = "brief";
98  
99      /**
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 }