public abstract class ActionCommandBase extends java.lang.Object implements ActionCommand
Simple abstract class which avoids frequent casting to
ActionContext
in commands explicitly intended for use with
that class.
Constructor and Description |
---|
ActionCommandBase() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
execute(ActionContext actionContext) |
boolean |
execute(org.apache.commons.chain.Context context) |
public abstract boolean execute(ActionContext actionContext) throws java.lang.Exception
execute
in interface ActionCommand
actionContext
- The Context
for the current requestjava.lang.Exception
- On any errorpublic boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
execute
in interface org.apache.commons.chain.Command
java.lang.Exception
Copyright © 2000–2019 Apache Software Foundation. All rights reserved.