Package bluej.extensions2.event
Interface CompileListener
-
public interface CompileListener
This interface allows an extension to listen for compile events. The order of occurrence of these method calls for a given compilation is:compileStarted() compileError() # If a compilation error occurs compileWarning() # If a compilation warning occurs compileFailed() or compileSucceeded()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
compileError(CompileEvent event)
This method will be called when there is a report of a compile error.void
compileFailed(CompileEvent event)
This method will be called when the compile fails.void
compileStarted(CompileEvent event)
This method will be called when a compilation starts.void
compileSucceeded(CompileEvent event)
This method will be called when the compile ends successfully.void
compileWarning(CompileEvent event)
This method will be called when there is a report of a compile warning.
-
-
-
Method Detail
-
compileStarted
void compileStarted(CompileEvent event)
This method will be called when a compilation starts. If a long operation must be performed the extension should start a Thread.- Parameters:
event
- aCompileEvent
object of typeCompileEvent.EventType.COMPILE_START_EVENT
.
-
compileError
void compileError(CompileEvent event)
This method will be called when there is a report of a compile error. If a long operation must be performed the extension should start a Thread.- Parameters:
event
- aCompileEvent
object of typeCompileEvent.EventType.COMPILE_ERROR_EVENT
.
-
compileWarning
void compileWarning(CompileEvent event)
This method will be called when there is a report of a compile warning. If a long operation must be performed the extension should start a Thread.- Parameters:
event
- aCompileEvent
object of typeCompileEvent.EventType.COMPILE_WARNING_EVENT
.
-
compileSucceeded
void compileSucceeded(CompileEvent event)
This method will be called when the compile ends successfully. If a long operation must be performed the extension should start a Thread.- Parameters:
event
- aCompileEvent
object of typeCompileEvent.EventType.COMPILE_DONE_EVENT
.
-
compileFailed
void compileFailed(CompileEvent event)
This method will be called when the compile fails. If a long operation must be performed the extension should start a Thread.- Parameters:
event
- aCompileEvent
object of typeCompileEvent.EventType.COMPILE_FAILED_EVENT
.
-
-