File tree Expand file tree Collapse file tree
jenkins-client/src/main/java/com/offbytwo/jenkins/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77public 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 }
You can’t perform that action at this time.
0 commit comments