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