]> source.dussan.org Git - aspectj.git/commitdiff
generalize report API to cover resources and outjar
authoraclement <aclement>
Mon, 23 Mar 2009 02:29:57 +0000 (02:29 +0000)
committeraclement <aclement>
Mon, 23 Mar 2009 02:29:57 +0000 (02:29 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/CompilationResultDestinationManager.java

index 39f8aeaf8f1b59213f2282b57b3661c4bd66b6c8..8eb0e9434cde82b3a934c013c4c6185ad9d18605 100644 (file)
@@ -66,13 +66,18 @@ public interface CompilationResultDestinationManager {
         * 
         * @param outputfile the output file (including .class suffix)
         */
-       void reportClassFileWrite(String outputfile);
+       void reportFileWrite(String outputfile, int filetype);
 
        /**
         * Report that a class file is being deleted from the specified location.
         * 
         * @param outputfile the output file (including .class suffix)
         */
-       void reportClassFileRemove(String outputfile);
+       void reportFileRemove(String outputfile, int filetype);
 
+       // match numbers in IOutputLocationManager - ought to factor into super interface
+       int FILETYPE_UNKNOWN = 0;
+       int FILETYPE_CLASS = 1;
+       int FILETYPE_OUTJAR = 2;
+       int FILETYPE_RESOURCE = 3;
 }