01: package org.antmod.scm;
02:
03: /**
04: * Representation of something that changed,
05: * result of running a "diff" against the scm system.
06: *
07: * @author Klaas Waslander
08: */
09: 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 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 getLog();
27:
28: }
|