1 package org.apache.maven.changelog.stubs;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 import org.apache.maven.scm.ScmException;
20 import org.apache.maven.scm.ScmFileSet;
21 import org.apache.maven.scm.command.add.AddScmResult;
22 import org.apache.maven.scm.command.changelog.ChangeLogScmResult;
23 import org.apache.maven.scm.command.checkin.CheckInScmResult;
24 import org.apache.maven.scm.command.checkout.CheckOutScmResult;
25 import org.apache.maven.scm.command.diff.DiffScmResult;
26 import org.apache.maven.scm.command.edit.EditScmResult;
27 import org.apache.maven.scm.command.remove.RemoveScmResult;
28 import org.apache.maven.scm.command.status.StatusScmResult;
29 import org.apache.maven.scm.command.tag.TagScmResult;
30 import org.apache.maven.scm.command.unedit.UnEditScmResult;
31 import org.apache.maven.scm.command.update.UpdateScmResult;
32 import org.apache.maven.scm.log.ScmLogger;
33 import org.apache.maven.scm.provider.ScmProvider;
34 import org.apache.maven.scm.provider.ScmProviderRepository;
35 import org.apache.maven.scm.repository.ScmRepository;
36 import org.apache.maven.scm.repository.ScmRepositoryException;
37 import org.apache.maven.scm.repository.UnknownRepositoryStructure;
38
39 import java.io.File;
40 import java.util.Date;
41 import java.util.List;
42
43 /**
44 * @author Edwin Punzalan
45 */
46 public class ScmProviderStub
47 implements ScmProvider
48 {
49 public AddScmResult add( ScmRepository scmRepository, ScmFileSet scmFileSet )
50 throws ScmException
51 {
52 return null;
53 }
54
55 public void addListener( ScmLogger scmLogger )
56 {
57 }
58
59 protected ChangeLogScmResult getChangeLogScmResult()
60 {
61 return new ChangeLogScmResultStub();
62 }
63
64 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, Date date, Date date1,
65 int i, String string )
66 throws ScmException
67 {
68 return getChangeLogScmResult();
69 }
70
71 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, Date date, Date date1,
72 int i, String string, String string1 )
73 throws ScmException
74 {
75 return getChangeLogScmResult();
76 }
77
78 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, String string,
79 String string1 )
80 throws ScmException
81 {
82 return getChangeLogScmResult();
83 }
84
85 public ChangeLogScmResult changeLog( ScmRepository scmRepository, ScmFileSet scmFileSet, String string,
86 String string1, String string2 )
87 throws ScmException
88 {
89 return getChangeLogScmResult();
90 }
91
92 public CheckInScmResult checkIn( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
93 throws ScmException
94 {
95 return null;
96 }
97
98 public CheckOutScmResult checkOut( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
99 throws ScmException
100 {
101 return null;
102 }
103
104 public DiffScmResult diff( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
105 throws ScmException
106 {
107 return null;
108 }
109
110 public EditScmResult edit( ScmRepository scmRepository, ScmFileSet scmFileSet )
111 throws ScmException
112 {
113 return null;
114 }
115
116 public String getScmSpecificFilename()
117 {
118 return null;
119 }
120
121 public String getScmType()
122 {
123 return null;
124 }
125
126 public ScmProviderRepository makeProviderScmRepository( File file )
127 throws ScmRepositoryException, UnknownRepositoryStructure
128 {
129 return null;
130 }
131
132 public ScmProviderRepository makeProviderScmRepository( String string, char c )
133 throws ScmRepositoryException
134 {
135 return null;
136 }
137
138 public RemoveScmResult remove( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
139 throws ScmException
140 {
141 return null;
142 }
143
144 public boolean requiresEditMode()
145 {
146 return false;
147 }
148
149 public StatusScmResult status( ScmRepository scmRepository, ScmFileSet scmFileSet )
150 throws ScmException
151 {
152 return null;
153 }
154
155 public TagScmResult tag( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
156 throws ScmException
157 {
158 return null;
159 }
160
161 public UnEditScmResult unedit( ScmRepository scmRepository, ScmFileSet scmFileSet )
162 throws ScmException
163 {
164 return null;
165 }
166
167 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string )
168 throws ScmException
169 {
170 return null;
171 }
172
173 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, Date date )
174 throws ScmException
175 {
176 return null;
177 }
178
179 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, Date date,
180 String string1 )
181 throws ScmException
182 {
183 return null;
184 }
185
186 public UpdateScmResult update( ScmRepository scmRepository, ScmFileSet scmFileSet, String string, String string1 )
187 throws ScmException
188 {
189 return null;
190 }
191
192 public List validateScmUrl( String string, char c )
193 {
194 return null;
195 }
196 }