Skip to content

Commit 80bffb7

Browse files
authored
Merge pull request #247 from daisuke-yoshimoto/add_javadoc_to_editType
Add javadoc to editType.
2 parents ff91fd6 + c707146 commit 80bffb7

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

jenkins-client/src/main/java/com/offbytwo/jenkins/model/BuildChangeSetPath.java

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,26 @@
77
public class BuildChangeSetPath {
88

99
/**
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>
1112
*/
12-
// TODO: Think about it if its possible to use an enum type?
13-
private String editType; // edit, ?
13+
private String editType;
1414
private String file;
1515

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+
*/
1621
public String getEditType() {
1722
return editType;
1823
}
1924

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+
*/
2030
public void setEditType(String editType) {
2131
this.editType = editType;
2232
}

0 commit comments

Comments
 (0)