org.apache.maven.werkz
Class DefaultAction

java.lang.Object
  extended byorg.apache.maven.werkz.DefaultAction
All Implemented Interfaces:
Action

public abstract class DefaultAction
extends java.lang.Object
implements Action

Abstract convenience Action implementation.

DefaultAction is simply a partial implementation of Action where requiresAction() returns true.

It is abstract in that it not provide an implementation for Action.performAction(org.apache.maven.werkz.Session).

Author:
bob mcwhirter
See Also:
Action, Action.requiresAction()

Constructor Summary
DefaultAction()
          Construct.
 
Method Summary
 boolean requiresAction()
          Determine if this Action requies actual effort.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.werkz.Action
performAction
 

Constructor Detail

DefaultAction

public DefaultAction()
Construct.

Method Detail

requiresAction

public boolean requiresAction()
Determine if this Action requies actual effort.

Specified by:
requiresAction in interface Action
Returns:
true in all cases.
See Also:
Action.performAction(org.apache.maven.werkz.Session)


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