KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > antmod > scm > ScmDifference


1 package org.antmod.scm;
2
3 /**
4  * Representation of something that changed,
5  * result of running a "diff" against the scm system.
6  *
7  * @author Klaas Waslander
8  */

9 public interface ScmDifference {
10
11     /**
12      * Get the name of the file that was changed.
13      * @return Name of the changed file.
14      */

15     public String JavaDoc getFilename();
16     
17     /**
18      * Check whether a conflict has appeared in the changed file.
19      */

20     public boolean hasConflict();
21     
22     /**
23      * The diff's log output, showing descriptive
24      * information about what the actual differences are.
25      */

26     public String JavaDoc getLog();
27
28 }
29
Popular Tags