Package org.aspectj.ajde.core.internal
Klasse OutputLocationAdapter
java.lang.Object
org.aspectj.ajde.core.internal.OutputLocationAdapter
- Alle implementierten Schnittstellen:
CompilationResultDestinationManager
Enables the output locations detailed by the IOutputLocationManager implementation to be related to the comipler/weaver.
-
Feldübersicht
Von Schnittstelle geerbte Felder org.aspectj.ajdt.internal.compiler.CompilationResultDestinationManager
FILETYPE_CLASS, FILETYPE_OUTJAR, FILETYPE_RESOURCE, FILETYPE_UNKNOWN
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
discoverChangesSince
(File dir, long buildtime) Return a list of all output locations handled by this OutputLocationManagerReturn the default output location (for example, <my_project>/bin).Return a map from fully qualified jar/dir entries to handle components.getOutputLocationForClass
(File compilationUnit) Return the directory root under which the results of compiling the given source file.getOutputLocationForResource
(File resource) When copying resources from source folders to output location, return the root directory under which the resource should be copied.getSourceFolderForFile
(File sourceFile) Return the source folder where this source file came from, relative to the project root.void
reportFileRemove
(String outputfile, int filetype) Report that a class file is being deleted from the specified location.void
reportFileWrite
(String outputfile, int filetype) Report that a class file is being written to the specified location.
-
Konstruktordetails
-
OutputLocationAdapter
-
-
Methodendetails
-
getOutputLocationForClass
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManager
Return the directory root under which the results of compiling the given source file. For example, if the source file contains the type a.b.C, and this method returns "target/classes" the resulting class file will be written to "target/classes/a/b/C.class"- Angegeben von:
getOutputLocationForClass
in SchnittstelleCompilationResultDestinationManager
- Parameter:
compilationUnit
- the compilation unit that has been compiled- Gibt zurück:
- a File object representing the root directory under which compilation results for this unit should be written
-
getSourceFolderForFile
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManager
Return the source folder where this source file came from, relative to the project root. For example 'src' or 'src/main/java' or 'src/test/java'- Angegeben von:
getSourceFolderForFile
in SchnittstelleCompilationResultDestinationManager
- Parameter:
sourceFile
- the file for which the source folder should be determined- Gibt zurück:
- the source folder
-
getOutputLocationForResource
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManager
When copying resources from source folders to output location, return the root directory under which the resource should be copied.- Angegeben von:
getOutputLocationForResource
in SchnittstelleCompilationResultDestinationManager
- Parameter:
resource
- the resource to be copied- Gibt zurück:
- a File object representing the root directory under which this resource should be copied
-
getAllOutputLocations
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManager
Return a list of all output locations handled by this OutputLocationManager- Angegeben von:
getAllOutputLocations
in SchnittstelleCompilationResultDestinationManager
-
getDefaultOutputLocation
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManager
Return the default output location (for example, <my_project>/bin). This is where classes which are on the inpath will be placed.- Angegeben von:
getDefaultOutputLocation
in SchnittstelleCompilationResultDestinationManager
-
reportFileWrite
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManager
Report that a class file is being written to the specified location.- Angegeben von:
reportFileWrite
in SchnittstelleCompilationResultDestinationManager
- Parameter:
outputfile
- the output file (including .class suffix)
-
reportFileRemove
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManager
Report that a class file is being deleted from the specified location.- Angegeben von:
reportFileRemove
in SchnittstelleCompilationResultDestinationManager
- Parameter:
outputfile
- the output file (including .class suffix)
-
discoverChangesSince
- Angegeben von:
discoverChangesSince
in SchnittstelleCompilationResultDestinationManager
-
getInpathMap
Return a map from fully qualified jar/dir entries to handle components.- Angegeben von:
getInpathMap
in SchnittstelleCompilationResultDestinationManager
- Gibt zurück:
- a map from inpath entries (jars/dirs) to handle components.
-