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.blame;
20
21 import java.util.List;
22
23 import org.apache.maven.scm.ScmResult;
24
25
26
27
28
29
30 public class BlameScmResult extends ScmResult {
31 private static final long serialVersionUID = -3877526036464636595L;
32
33 private List<BlameLine> lines;
34
35 public BlameScmResult(String commandLine, List<BlameLine> lines) {
36 this(commandLine, null, null, true);
37
38 this.lines = lines;
39 }
40
41 public BlameScmResult(String commandLine, String providerMessage, String commandOutput, boolean success) {
42 super(commandLine, providerMessage, commandOutput, success);
43 }
44
45 public BlameScmResult(List<BlameLine> lines, ScmResult scmResult) {
46 super(scmResult);
47
48 this.lines = lines;
49 }
50
51 public List<BlameLine> getLines() {
52 return lines;
53 }
54 }