1 package org.apache.maven.scm.command.branch;
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.ScmResult;
26
27
28
29
30
31
32 public class BranchScmResult
33 extends ScmResult
34 {
35
36
37
38 private static final long serialVersionUID = -4241972929129557932L;
39 private List<ScmFile> branchedFiles;
40
41 public BranchScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
42 {
43 super( commandLine, providerMessage, commandOutput, success );
44 }
45
46 public BranchScmResult( String commandLine, List<ScmFile> branchedFiles )
47 {
48 super( commandLine, null, null, true );
49
50 this.branchedFiles = branchedFiles;
51 }
52
53 public BranchScmResult( List<ScmFile> branchedFiles, ScmResult result )
54 {
55 super( result );
56
57 this.branchedFiles = branchedFiles;
58 }
59
60 public List<ScmFile> getBranchedFiles()
61 {
62 return branchedFiles;
63 }
64 }