1 package org.apache.maven.scm.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.ChangeSet;
25 import org.apache.maven.scm.ScmFile;
26 import org.apache.maven.scm.ScmResult;
27
28
29
30
31
32
33
34 public class UpdateScmResultWithRevision
35 extends UpdateScmResult
36 {
37
38 private static final long serialVersionUID = 7644079089026359667L;
39 private String revision;
40
41 public UpdateScmResultWithRevision( String commandLine, String providerMessage, String commandOutput,
42 String revision, boolean success )
43 {
44 super( commandLine, providerMessage, commandOutput, success );
45
46 this.revision = revision;
47 }
48
49 public UpdateScmResultWithRevision( String commandLine, List<ScmFile> updatedFiles, String revision )
50 {
51 super( commandLine, updatedFiles );
52
53 this.revision = revision;
54 }
55
56 public UpdateScmResultWithRevision( List<ScmFile> updatedFiles, List<ChangeSet> changes, String revision,
57 ScmResult result )
58 {
59 super( updatedFiles, changes, result );
60
61 this.revision = revision;
62 }
63
64 public String getRevision()
65 {
66 return revision;
67 }
68 }