blob: daef2325fe13b83b552e83b61311abd270fac34b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
/*
* Copyright 2002-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.apache.tools.ant.taskdefs.optional.sos;
/**
* Interface to hold constants used by the SOS tasks
*
*/
public interface SOSCmd {
// soscmd Command options
/** The sos executable */
String COMMAND_SOS_EXE = "soscmd";
/** The get file command */
String COMMAND_GET_FILE = "GetFile";
/** The get project command */
String COMMAND_GET_PROJECT = "GetProject";
/** The checkout file command */
String COMMAND_CHECKOUT_FILE = "CheckOutFile";
/** The checkout project command */
String COMMAND_CHECKOUT_PROJECT = "CheckOutProject";
/** The checkin file command */
String COMMAND_CHECKIN_FILE = "CheckInFile";
/** The checkin project command */
String COMMAND_CHECKIN_PROJECT = "CheckInProject";
/** The get history command */
String COMMAND_HISTORY = "GetFileHistory";
/** The add label command */
String COMMAND_LABEL = "AddLabel";
/** The project prefix */
String PROJECT_PREFIX = "$";
// soscmd Option flags
/** The command option */
String FLAG_COMMAND = "-command";
/** The database (vss server) option */
String FLAG_VSS_SERVER = "-database";
/** The username option */
String FLAG_USERNAME = "-name";
/** The password option */
String FLAG_PASSWORD = "-password";
/** The log option */
String FLAG_COMMENT = "-log";
/** The workdir option */
String FLAG_WORKING_DIR = "-workdir";
/** The recursive option */
String FLAG_RECURSION = "-recursive";
/** The revision option */
String FLAG_VERSION = "-revision";
/** The label option */
String FLAG_LABEL = "-label";
/** The no compression option */
String FLAG_NO_COMPRESSION = "-nocompress";
/** The no cache option */
String FLAG_NO_CACHE = "-nocache";
/** The server option */
String FLAG_SOS_SERVER = "-server";
/** The sos home option */
String FLAG_SOS_HOME = "-soshome";
/** The project option */
String FLAG_PROJECT = "-project";
/** The file option */
String FLAG_FILE = "-file";
/** The verbose option */
String FLAG_VERBOSE = "-verbose";
}
|