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 java.lang.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(java.lang.String commandName)
          Deprecated. not used
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
           
 java.lang.String getCommandName()
           
 void setCommandName(java.lang.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(java.lang.String commandName)
Deprecated. not used

Parameters:
commandName -
Method Detail

execute

public boolean execute(org.apache.commons.chain.Context ctx)
                throws java.lang.Exception
Specified by:
execute in interface org.apache.commons.chain.Command
Throws:
java.lang.Exception

getCommandName

public java.lang.String getCommandName()

setCommandName

public void setCommandName(java.lang.String commandName)


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.