org.apache.maven.werkz
Interface PreActionCallback

All Known Implementing Classes:
Callback

public interface PreActionCallback

Interface for callbacks that occur before a Goal's action has been executed.

This callback will only be fired if the Goal's own action, as defined by Action.performAction(org.apache.maven.werkz.Session) is slated to be fired.

Author:
bob mcwhirter
See Also:
Goal.attain(org.apache.maven.werkz.Session), Action.performAction(org.apache.maven.werkz.Session)

Method Summary
 void firePreAction(Goal goal)
          Fire the callback.
 

Method Detail

firePreAction

public void firePreAction(Goal goal)
                   throws java.lang.Exception
Fire the callback.

Parameters:
goal - The Goal.
Throws:
java.lang.Exception - if an error occurs.


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.