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$
Author:
Philipp Bracher

Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
DelegateCommand()
           
 
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()
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–2014 Magnolia International Ltd.. All rights reserved.