1 package org.apache.maven.scm.provider.svn.command.info;
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 import org.apache.maven.scm.command.info.InfoScmResult;
26
27
28
29
30
31
32 public class SvnInfoScmResult
33 extends InfoScmResult
34 {
35
36 private static final long serialVersionUID = 955993340040530451L;
37
38 public SvnInfoScmResult( String commandLine, String providerMessage, String commandOutput, boolean success )
39 {
40 super( commandLine, providerMessage, commandOutput, success );
41 }
42
43 public SvnInfoScmResult( String commandLine, List<SvnInfoItem> files )
44 {
45 super( commandLine, null, null, true );
46 if ( files != null )
47 {
48 getInfoItems().addAll( files );
49 }
50 }
51
52 public SvnInfoScmResult( List<SvnInfoItem> files, ScmResult result )
53 {
54 super( result );
55
56 if ( files != null )
57 {
58 getInfoItems().addAll( files );
59 }
60 }
61 }