KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > cruisecontrol > sourcecontrols > CVS


1 package net.sourceforge.cruisecontrol.sourcecontrols;
2
3 import net.sourceforge.cruisecontrol.CruiseControlException;
4 import net.sourceforge.cruisecontrol.SourceControl;
5 import net.sourceforge.cruisecontrol.util.Commandline;
6 import net.sourceforge.cruisecontrol.util.OSEnvironment;
7
8 import java.io.IOException JavaDoc;
9 import java.io.InputStream JavaDoc;
10 import java.util.Date JavaDoc;
11 import java.util.Hashtable JavaDoc;
12 import java.util.List JavaDoc;
13 import java.util.Map JavaDoc;
14
15 /**
16  * This class name is deprecated because of conflicts with specially named cvs folders, specifically within eclipse.
17  * It's been deprecated and renamed to ConcurrentVersionsSystem in the same package.
18  *
19  * @see ConcurrentVersionsSystem
20  * @deprecated Use ConcurrentVersionsSystem instead.
21  */

22 public class CVS implements SourceControl {
23
24     private ConcurrentVersionsSystem delegate = new ConcurrentVersionsSystem();
25
26     /**
27      * @see ConcurrentVersionsSystem
28      * @deprecated Use ConcurrentVersionsSystem instead.
29      */

30     public List JavaDoc getModifications(Date JavaDoc lastBuild, Date JavaDoc now) {
31         return delegate.getModifications(lastBuild, now);
32     }
33
34     /**
35      * @see ConcurrentVersionsSystem
36      * @deprecated Use ConcurrentVersionsSystem instead.
37      */

38     public void validate() throws CruiseControlException {
39         delegate.validate();
40     }
41
42     /**
43      * @see ConcurrentVersionsSystem
44      * @deprecated Use ConcurrentVersionsSystem instead.
45      */

46     public Map JavaDoc getProperties() {
47         return delegate.getProperties();
48     }
49
50     /**
51      * @see ConcurrentVersionsSystem
52      * @deprecated Use ConcurrentVersionsSystem instead.
53      */

54     public void setCvsRoot(String JavaDoc cvsroot) {
55         delegate.setCvsRoot(cvsroot);
56     }
57
58     /**
59      * @see ConcurrentVersionsSystem
60      * @deprecated Use ConcurrentVersionsSystem instead.
61      */

62     public void setLocalWorkingCopy(String JavaDoc local) {
63         delegate.setLocalWorkingCopy(local);
64     }
65
66     /**
67      * @see ConcurrentVersionsSystem
68      * @deprecated Use ConcurrentVersionsSystem instead.
69      */

70     public void setTag(String JavaDoc tag) {
71         delegate.setTag(tag);
72     }
73
74     /**
75      * @see ConcurrentVersionsSystem
76      * @deprecated Use ConcurrentVersionsSystem instead.
77      */

78     public void setModule(String JavaDoc module) {
79         delegate.setModule(module);
80     }
81
82     /**
83      * @see ConcurrentVersionsSystem
84      * @deprecated Use ConcurrentVersionsSystem instead.
85      */

86     public void setProperty(String JavaDoc property) {
87         delegate.setProperty(property);
88     }
89
90     /**
91      * @see ConcurrentVersionsSystem
92      * @deprecated Use ConcurrentVersionsSystem instead.
93      */

94     public void setPropertyOnDelete(String JavaDoc propertyOnDelete) {
95         delegate.setPropertyOnDelete(propertyOnDelete);
96     }
97
98     /**
99      * @see ConcurrentVersionsSystem
100      * @deprecated Use ConcurrentVersionsSystem instead.
101      */

102     protected ConcurrentVersionsSystem.Version getCvsServerVersion() {
103         return delegate.getCvsServerVersion();
104     }
105
106     /**
107      * @see ConcurrentVersionsSystem
108      * @deprecated Use ConcurrentVersionsSystem instead.
109      */

110     public boolean isCvsNewOutputFormat() {
111         return delegate.isCvsNewOutputFormat();
112     }
113
114     /**
115      * @see ConcurrentVersionsSystem
116      * @deprecated Use ConcurrentVersionsSystem instead.
117      */

118     protected OSEnvironment getOSEnvironment() {
119         return delegate.getOSEnvironment();
120     }
121
122     /**
123      * @see ConcurrentVersionsSystem
124      * @deprecated Use ConcurrentVersionsSystem instead.
125      */

126     void addAliasToMap(String JavaDoc line) {
127         delegate.addAliasToMap(line);
128     }
129
130     /**
131      * @see ConcurrentVersionsSystem
132      * @deprecated Use ConcurrentVersionsSystem instead.
133      */

134     public Commandline buildHistoryCommand(Date JavaDoc lastBuildTime, Date JavaDoc checkTime) throws CruiseControlException {
135         return delegate.buildHistoryCommand(lastBuildTime, checkTime);
136     }
137
138     /**
139      * @see ConcurrentVersionsSystem
140      * @deprecated Use ConcurrentVersionsSystem instead.
141      */

142     protected Commandline getCommandline() {
143         return delegate.getCommandline();
144     }
145
146     /**
147      * @see ConcurrentVersionsSystem
148      * @deprecated Use ConcurrentVersionsSystem instead.
149      */

150     static String JavaDoc formatCVSDate(Date JavaDoc date) {
151         return ConcurrentVersionsSystem.formatCVSDate(date);
152     }
153
154     /**
155      * @see ConcurrentVersionsSystem
156      * @deprecated Use ConcurrentVersionsSystem instead.
157      */

158     protected List JavaDoc parseStream(InputStream JavaDoc input) throws IOException JavaDoc {
159         return delegate.parseStream(input);
160     }
161
162     /**
163      * @see ConcurrentVersionsSystem
164      * @deprecated Use ConcurrentVersionsSystem instead.
165      */

166     protected void setMailAliases(Hashtable JavaDoc mailAliases) {
167         delegate.setMailAliases(mailAliases);
168     }
169 }
170
Popular Tags