Interface IStateListener
- All Known Implementing Classes:
AbstractStateListener
public interface IStateListener
Implementations of this interface get told interesting information about
decisions made in AjState objects. Should help us improve incremental
compilation, and ease the testing of incremental compilation!
Not yet complete, will expand as we determine what extra useful information
should be recorded.
- Author:
- AndyClement
-
Method Summary
Modifier and TypeMethodDescriptionvoid
aboutToCompareClasspaths(List oldClasspath, List newClasspath)
void
buildSuccessful(boolean wasFullBuild)
void
Called if state processing detects a file was deleted that contained an aspect declaration.void
void
void
recordDecision(String decision)
When a decision is made during compilation (such as needing to recompile some new file, or drop back to batch) this method is called with the decision.void
recordInformation(String info)
Provides feedback during compilation on what stage we are at
-
Method Details
-
detectedClassChangeInThisDir
-
aboutToCompareClasspaths
-
pathChangeDetected
void pathChangeDetected() -
detectedAspectDeleted
Called if state processing detects a file was deleted that contained an aspect declaration. Incremental compilation will not be attempted if this occurs. -
buildSuccessful
void buildSuccessful(boolean wasFullBuild) -
recordDecision
When a decision is made during compilation (such as needing to recompile some new file, or drop back to batch) this method is called with the decision. -
recordInformation
Provides feedback during compilation on what stage we are at
-