info.magnolia.commands
Class DelegateCommand

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
DelegateCommand()
           
DelegateCommand(String commandName)
          Deprecated. not used
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
           
 String getCommandName()
           
 void setCommandName(String commandName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateCommand

public DelegateCommand()

DelegateCommand

public DelegateCommand(String commandName)
Deprecated. not used

Parameters:
commandName -
Method Detail

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-2011 Magnolia International Ltd.. All Rights Reserved.