|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.ajde.core.internal.OutputLocationAdapter
public class OutputLocationAdapter
Enables the output locations detailed by the IOutputLocationManager implementation to be related to the comipler/weaver.
| Field Summary |
|---|
| Fields inherited from interface org.aspectj.ajdt.internal.compiler.CompilationResultDestinationManager |
|---|
FILETYPE_CLASS, FILETYPE_OUTJAR, FILETYPE_RESOURCE, FILETYPE_UNKNOWN |
| Constructor Summary | |
|---|---|
OutputLocationAdapter(IOutputLocationManager mgr)
|
|
| Method Summary | |
|---|---|
int |
discoverChangesSince(java.io.File dir,
long buildtime)
|
java.util.List |
getAllOutputLocations()
Return a list of all output locations handled by this OutputLocationManager |
java.io.File |
getDefaultOutputLocation()
Return the default output location (for example, |
java.util.Map |
getInpathMap()
Return a map from fully qualified jar/dir entries to handle components. |
java.io.File |
getOutputLocationForClass(java.io.File compilationUnit)
Return the directory root under which the results of compiling the given source file. |
java.io.File |
getOutputLocationForResource(java.io.File resource)
When copying resources from source folders to output location, return the root directory under which the resource should be copied. |
java.lang.String |
getSourceFolderForFile(java.io.File sourceFile)
Return the source folder where this source file came from, relative to the project root. |
void |
reportFileRemove(java.lang.String outputfile,
int filetype)
Report that a class file is being deleted from the specified location. |
void |
reportFileWrite(java.lang.String outputfile,
int filetype)
Report that a class file is being written to the specified location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputLocationAdapter(IOutputLocationManager mgr)
| Method Detail |
|---|
public java.io.File getOutputLocationForClass(java.io.File compilationUnit)
CompilationResultDestinationManager
getOutputLocationForClass in interface CompilationResultDestinationManagercompilationUnit - the compilation unit that has been compiled
public java.lang.String getSourceFolderForFile(java.io.File sourceFile)
CompilationResultDestinationManager
getSourceFolderForFile in interface CompilationResultDestinationManagersourceFile - the file for which the source folder should be determined
public java.io.File getOutputLocationForResource(java.io.File resource)
CompilationResultDestinationManager
getOutputLocationForResource in interface CompilationResultDestinationManagerresource - the resource to be copied
public java.util.List getAllOutputLocations()
CompilationResultDestinationManager
getAllOutputLocations in interface CompilationResultDestinationManagerpublic java.io.File getDefaultOutputLocation()
CompilationResultDestinationManager
getDefaultOutputLocation in interface CompilationResultDestinationManager
public void reportFileWrite(java.lang.String outputfile,
int filetype)
CompilationResultDestinationManager
reportFileWrite in interface CompilationResultDestinationManageroutputfile - the output file (including .class suffix)
public void reportFileRemove(java.lang.String outputfile,
int filetype)
CompilationResultDestinationManager
reportFileRemove in interface CompilationResultDestinationManageroutputfile - the output file (including .class suffix)
public int discoverChangesSince(java.io.File dir,
long buildtime)
discoverChangesSince in interface CompilationResultDestinationManagerpublic java.util.Map getInpathMap()
getInpathMap in interface CompilationResultDestinationManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||