KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hudson > scm > EditType


1 package hudson.scm;
2
3 /**
4  * Designates the SCM operation.
5  *
6  * @author Kohsuke Kawaguchi
7  */

8 public final class EditType {
9     private String JavaDoc name;
10     private String JavaDoc description;
11
12     public EditType(String JavaDoc name, String JavaDoc description) {
13         this.name = name;
14         this.description = description;
15     }
16
17     public String JavaDoc getName() {
18         return name;
19     }
20
21     public String JavaDoc getDescription() {
22         return description;
23     }
24
25     public static final EditType ADD = new EditType("add","The file was added");
26     public static final EditType EDIT = new EditType("edit","The file was modified");
27     public static final EditType DELETE = new EditType("delete","The file was removed");
28 }
29
Popular Tags