org.fopps.model
Interface CompilationListener

All Known Implementing Classes:
CompileAction, CompileLogModel

public interface CompilationListener

CompilationListener is the base interface for all compilation listeners.


Method Summary
 void compilationError(CompilationEvent pEvent, java.lang.Throwable pException)
          Called if an error occurred during compilation
 void compilationFinished(CompilationEvent pEvent)
          Called if compilation finished
 void compilationStarted(CompilationEvent pEvent)
          Called if compilation started
 void fileCopied(CompilationEvent pEvent, java.lang.String pSource, java.lang.String pDest)
          Called if a file was copied to the target directory
 void fileGenerated(CompilationEvent pEvent, java.lang.String pDest)
          Called if a file was generated
 void fileSkipped(CompilationEvent pEvent, java.lang.String pSource)
          Called if a file was skipped (e. g. file not found)
 

Method Detail

fileCopied

public void fileCopied(CompilationEvent pEvent,
                       java.lang.String pSource,
                       java.lang.String pDest)
Called if a file was copied to the target directory

Parameters:
pEvent - The compilation event
pSource - Name of the source file
pDest - Name of the destination file

fileGenerated

public void fileGenerated(CompilationEvent pEvent,
                          java.lang.String pDest)
Called if a file was generated

Parameters:
pEvent - The compilation event
pDest - Name of the destination file

fileSkipped

public void fileSkipped(CompilationEvent pEvent,
                        java.lang.String pSource)
Called if a file was skipped (e. g. file not found)

Parameters:
pEvent - The compilation event
pSource - Name of the source file

compilationStarted

public void compilationStarted(CompilationEvent pEvent)
Called if compilation started

Parameters:
pEvent - The compilation event

compilationFinished

public void compilationFinished(CompilationEvent pEvent)
Called if compilation finished

Parameters:
pEvent - The compilation event

compilationError

public void compilationError(CompilationEvent pEvent,
                             java.lang.Throwable pException)
Called if an error occurred during compilation

Parameters:
pEvent - The compilation event
pException - The raised exception


Fopps 0.19 - Copyright © 2002 Oliver Wieland. All Rights Reserved.