public interface CompilationResultDestinationManager
Modifier and Type | Field and Description |
---|---|
static int |
FILETYPE_CLASS |
static int |
FILETYPE_OUTJAR |
static int |
FILETYPE_RESOURCE |
static int |
FILETYPE_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
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() |
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.
|
static final int FILETYPE_UNKNOWN
static final int FILETYPE_CLASS
static final int FILETYPE_OUTJAR
static final int FILETYPE_RESOURCE
java.io.File getOutputLocationForClass(java.io.File compilationUnit)
compilationUnit
- the compilation unit that has been compiledjava.lang.String getSourceFolderForFile(java.io.File sourceFile)
sourceFile
- the file for which the source folder should be determinedjava.io.File getOutputLocationForResource(java.io.File resource)
resource
- the resource to be copiedjava.util.List getAllOutputLocations()
java.io.File getDefaultOutputLocation()
void reportFileWrite(java.lang.String outputfile, int filetype)
outputfile
- the output file (including .class suffix)void reportFileRemove(java.lang.String outputfile, int filetype)
outputfile
- the output file (including .class suffix)java.util.Map getInpathMap()
int discoverChangesSince(java.io.File dir, long buildtime)