1 package org.apache.maven.scm.provider.accurev.command.update;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.util.List;
23
24 import org.apache.maven.scm.ScmFile;
25 import org.apache.maven.scm.command.update.UpdateScmResultWithRevision;
26
27
28
29
30
31
32 public class AccuRevUpdateScmResult
33 extends UpdateScmResultWithRevision
34 {
35
36 private static final long serialVersionUID = -4896981432286000329L;
37 String fromRevision;
38
39
40
41
42
43
44
45
46 public AccuRevUpdateScmResult( String commandLine, String providerMessage, String commandOutput,
47 String fromRevision, String toRevision, boolean success )
48 {
49 super( commandLine, providerMessage, commandOutput, toRevision, success );
50 this.fromRevision = fromRevision;
51 }
52
53
54
55
56
57
58
59
60
61 public AccuRevUpdateScmResult( String commandLines, List<ScmFile> updatedFiles, String fromRevision,
62 String toRevision )
63 {
64 super( commandLines, updatedFiles, toRevision );
65 this.fromRevision = fromRevision;
66 }
67
68 public String getFromRevision()
69 {
70 return fromRevision;
71 }
72
73 public String getToRevision()
74 {
75 return getRevision();
76 }
77 }