KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > tools > ant > taskdefs > optional > sos > SOSCmd


1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * 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 JavaDoc COMMAND_SOS_EXE = "soscmd";
28     /** The get file command */
29     String JavaDoc COMMAND_GET_FILE = "GetFile";
30     /** The get project command */
31     String JavaDoc COMMAND_GET_PROJECT = "GetProject";
32     /** The checkout file command */
33     String JavaDoc COMMAND_CHECKOUT_FILE = "CheckOutFile";
34     /** The checkout project command */
35     String JavaDoc COMMAND_CHECKOUT_PROJECT = "CheckOutProject";
36     /** The checkin file command */
37     String JavaDoc COMMAND_CHECKIN_FILE = "CheckInFile";
38     /** The checkin project command */
39     String JavaDoc COMMAND_CHECKIN_PROJECT = "CheckInProject";
40     /** The get history command */
41     String JavaDoc COMMAND_HISTORY = "GetFileHistory";
42     /** The add label command */
43     String JavaDoc COMMAND_LABEL = "AddLabel";
44     /** The project prefix */
45     String JavaDoc PROJECT_PREFIX = "$";
46
47     // soscmd Option flags
48
/** The command option */
49     String JavaDoc FLAG_COMMAND = "-command";
50     /** The database (vss server) option */
51     String JavaDoc FLAG_VSS_SERVER = "-database";
52     /** The username option */
53     String JavaDoc FLAG_USERNAME = "-name";
54     /** The password option */
55     String JavaDoc FLAG_PASSWORD = "-password";
56     /** The log option */
57     String JavaDoc FLAG_COMMENT = "-log";
58     /** The workdir option */
59     String JavaDoc FLAG_WORKING_DIR = "-workdir";
60     /** The recursive option */
61     String JavaDoc FLAG_RECURSION = "-recursive";
62     /** The revision option */
63     String JavaDoc FLAG_VERSION = "-revision";
64     /** The label option */
65     String JavaDoc FLAG_LABEL = "-label";
66     /** The no compression option */
67     String JavaDoc FLAG_NO_COMPRESSION = "-nocompress";
68     /** The no cache option */
69     String JavaDoc FLAG_NO_CACHE = "-nocache";
70     /** The server option */
71     String JavaDoc FLAG_SOS_SERVER = "-server";
72     /** The sos home option */
73     String JavaDoc FLAG_SOS_HOME = "-soshome";
74     /** The project option */
75     String JavaDoc FLAG_PROJECT = "-project";
76     /** The file option */
77     String JavaDoc FLAG_FILE = "-file";
78     /** The verbose option */
79     String JavaDoc FLAG_VERBOSE = "-verbose";
80 }
81
Popular Tags