info.magnolia.commands
Class DelegateCommand
java.lang.Object
info.magnolia.commands.DelegateCommand
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class DelegateCommand
- extends Object
- implements org.apache.commons.chain.Command
Delegate to an other command at runtime.
- Version:
- $Id: DelegateCommand.java 41137 2011-01-06 18:19:25Z gjoseph $
- Author:
- Philipp Bracher
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegateCommand
public DelegateCommand()
DelegateCommand
public DelegateCommand(String commandName)
- Deprecated. not used
- Parameters:
commandName
-
execute
public boolean execute(org.apache.commons.chain.Context ctx)
throws Exception
- Specified by:
execute
in interface org.apache.commons.chain.Command
- Throws:
Exception
getCommandName
public String getCommandName()
setCommandName
public void setCommandName(String commandName)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.