1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.scm;
20
21 import java.io.Serializable;
22
23
24
25
26
27 public class ScmBranchParameters implements Serializable {
28 private static final long serialVersionUID = 7241536408630608707L;
29
30 private String message;
31
32 private boolean remoteBranching = false;
33
34 private boolean pinExternals = false;
35
36 private String scmRevision;
37
38 public ScmBranchParameters() {
39 this.remoteBranching = false;
40 this.pinExternals = false;
41 }
42
43 public ScmBranchParameters(String message) {
44 this.message = message;
45 }
46
47 public String getMessage() {
48 return message;
49 }
50
51 public void setMessage(String message) {
52 this.message = message;
53 }
54
55 public String getScmRevision() {
56 return scmRevision;
57 }
58
59 public void setScmRevision(String scmRevision) {
60 this.scmRevision = scmRevision;
61 }
62
63 public boolean isRemoteBranching() {
64 return remoteBranching;
65 }
66
67 public void setRemoteBranching(boolean remoteBranching) {
68 this.remoteBranching = remoteBranching;
69 }
70
71 public boolean isPinExternals() {
72 return pinExternals;
73 }
74
75 public void setPinExternals(boolean pinExternals) {
76 this.pinExternals = pinExternals;
77 }
78
79 public String toString() {
80 return "[" + scmRevision + "] " + message;
81 }
82 }