package org.aspectj.ajde;
import java.io.File;
+import java.util.List;
/**
* Interface to be implemented by clients that wish to control the output
* should be copied
*/
File getOutputLocationForResource(File resource);
+
+ /**
+ * Return a list of all output locations handled by this OutputLocationManager
+ */
+ List /*File*/ getAllOutputLocations();
+
+ /**
+ * Return the default output location (for example, <my_project>/bin). This is
+ * where classes which are on the inpath will be placed.
+ */
+ File getDefaultOutputLocation();
}
package org.aspectj.ajde.internal;
import java.io.File;
+import java.util.List;
import org.aspectj.ajde.OutputLocationManager;
import org.aspectj.ajdt.internal.compiler.CompilationResultDestinationManager;
return this.locationManager.getOutputLocationForResource(resource);
}
+ public List getAllOutputLocations() {
+ return this.locationManager.getAllOutputLocations();
+ }
+
+ public File getDefaultOutputLocation() {
+ return this.locationManager.getDefaultOutputLocation();
+ }
+
}