CONTINUE_PROCESSING, PROCESSING_COMPLETE
Constructor and Description |
---|
DelegateCommand(CommandsManager commandsManager) |
Modifier and Type | Method and Description |
---|---|
Command |
clone()
This method allows to create new clone of a command, so the instances in
the CommandManager's catalogs are masters, and the execution always uses
clone created by this method.
NOTE: CommandsManager clone the command instances by standard Java cloning mechanism. |
boolean |
execute(Context ctx) |
String |
getCommandName() |
void |
setCommandName(String commandName) |
@Inject public DelegateCommand(CommandsManager commandsManager)
public String getCommandName()
public void setCommandName(String commandName)
public Command clone() throws CloneNotSupportedException
Command
clone
in interface Command
clone
in class Object
CloneNotSupportedException
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.