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