Interface SkipDecider
- All Known Implementing Classes:
StopGenerationDecider
public interface SkipDecider
A class deciding whether the generation should be skipped or not.
The class is asked for every source which is processed.
- Version:
- $Id: SkipDecider.java 1331190 2012-04-27 02:41:35Z tfischer $
-
Method Summary
Modifier and TypeMethodDescriptionbooleanproceed(ControllerState controllerState) Decides whether the source file should be skipped and not used for generation.
-
Method Details
-
proceed
Decides whether the source file should be skipped and not used for generation.- Parameters:
controllerState- the current controller state, containing e.g. the current source element.- Returns:
- true if the current generation should proceed, false if the generation should be skipped.
- Throws:
SourceException- if an error occurs
-