1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.scm.command.branch;
20
21 import java.util.List;
22
23 import org.apache.maven.scm.ScmFile;
24 import org.apache.maven.scm.ScmResult;
25
26
27
28
29
30 public class BranchScmResult extends ScmResult {
31 private static final long serialVersionUID = -4241972929129557932L;
32
33 private List<ScmFile> branchedFiles;
34
35 public BranchScmResult(String commandLine, String providerMessage, String commandOutput, boolean success) {
36 super(commandLine, providerMessage, commandOutput, success);
37 }
38
39 public BranchScmResult(String commandLine, List<ScmFile> branchedFiles) {
40 super(commandLine, null, null, true);
41
42 this.branchedFiles = branchedFiles;
43 }
44
45 public BranchScmResult(List<ScmFile> branchedFiles, ScmResult result) {
46 super(result);
47
48 this.branchedFiles = branchedFiles;
49 }
50
51 public List<ScmFile> getBranchedFiles() {
52 return branchedFiles;
53 }
54 }