JobChangeListener
.@Deprecated public interface RecompileListener
Modifier and Type | Field and Description |
---|---|
static RecompileListener |
NONE
Deprecated.
A listener that does nothing.
|
Modifier and Type | Method and Description |
---|---|
void |
finishedCompile(String moduleName,
int compileId,
boolean success)
Deprecated.
Called when a compile finishes.
|
void |
startedCompile(String moduleName,
int compileId,
CompileDir compileDir)
Deprecated.
Called when starting a compile.
|
static final RecompileListener NONE
void startedCompile(String moduleName, int compileId, CompileDir compileDir)
moduleName
- The name of the module being compiled, before renaming.compileId
- An id for this compile, starting from 1 for the first compile.
The combination of (moduleName, compileId) is unique within
a Code Server process. After the CodeServer is restarted, starts again from 1.compileDir
- The directory used for this compile. Contains subdirectories for
working files and compiler output.void finishedCompile(String moduleName, int compileId, boolean success)
moduleName
- The same name passed to startedCompilecompileId
- The same id passed to startedCompilesuccess
- True if the compile succeeded.Copyright © 2018. All rights reserved.