org.apache.maven.werkz
Class Callback

java.lang.Object
  extended byorg.apache.maven.werkz.Callback
All Implemented Interfaces:
PostActionCallback, PostGoalCallback, PreActionCallback, PreGoalCallback

public class Callback
extends java.lang.Object
implements PreGoalCallback, PostGoalCallback, PreActionCallback, PostActionCallback

Convenience class providing no-op implementations of all four callbacks.

Author:
bob mcwhirter
See Also:
PreGoalCallback, PostGoalCallback, PreActionCallback, PostActionCallback

Constructor Summary
Callback()
          Construct.
 
Method Summary
 void firePostAction(Goal goal)
          No-op post-action callback implementation.
 void firePostGoal(Goal goal)
          No-op post-goal callback implementation.
 void firePreAction(Goal goal)
          No-op pre-action callback implementation.
 void firePreGoal(Goal goal)
          No-op pre-goal callback implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Callback

public Callback()
Construct.

Method Detail

firePreGoal

public void firePreGoal(Goal goal)
No-op pre-goal callback implementation.

Specified by:
firePreGoal in interface PreGoalCallback
Parameters:
goal - Goal performing the callback.
See Also:
PreGoalCallback

firePostGoal

public void firePostGoal(Goal goal)
No-op post-goal callback implementation.

Specified by:
firePostGoal in interface PostGoalCallback
Parameters:
goal - Goal performing the callback.
See Also:
PostGoalCallback

firePreAction

public void firePreAction(Goal goal)
No-op pre-action callback implementation.

Specified by:
firePreAction in interface PreActionCallback
Parameters:
goal - Goal performing the callback.
See Also:
PreActionCallback

firePostAction

public void firePostAction(Goal goal)
No-op post-action callback implementation.

Specified by:
firePostAction in interface PostActionCallback
Parameters:
goal - Goal performing the callback.
See Also:
PostActionCallback


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