org.apache.torque.generator.source.skipDecider
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
 boolean proceed(ControllerState controllerState)
          Decides whether the source file should be skipped and not used for generation.
 

Method Detail

proceed

boolean proceed(ControllerState controllerState)
                throws SourceException
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


Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.