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