File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
jenkins-client/src/main/java/com/offbytwo/jenkins/model Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 7
7
public class BuildChangeSetPath {
8
8
9
9
/**
10
- * Usually {@code edit} etc.
10
+ * The SCM operation, <code>add</code> or <code>edit</code> or <code>delete</code>
11
+ * @see <a href="http://javadoc.jenkins.io/hudson/scm/EditType.html">EditType</a>
11
12
*/
12
- // TODO: Think about it if its possible to use an enum type?
13
- private String editType ; // edit, ?
13
+ private String editType ;
14
14
private String file ;
15
15
16
+ /**
17
+ * Return the SCM operation.
18
+ * @return the SCM operation, <code>add</code> or <code>edit</code> or <code>delete</code>
19
+ * @see <a href="http://javadoc.jenkins.io/hudson/scm/EditType.html">EditType</a>
20
+ */
16
21
public String getEditType () {
17
22
return editType ;
18
23
}
19
24
25
+ /**
26
+ * Sets the SCM operation.
27
+ * @param the SCM operation, <code>add</code> or <code>edit</code> or <code>delete</code>
28
+ * @see <a href="http://javadoc.jenkins.io/hudson/scm/EditType.html">EditType</a>
29
+ */
20
30
public void setEditType (String editType ) {
21
31
this .editType = editType ;
22
32
}
You can’t perform that action at this time.
0 commit comments