public interface Command extends Cloneable
A Command encapsulates a unit of processing work to be performed, whose purpose is to examine and/or modify the state of a transaction that is represented by a Context.
Modifier and Type | Field and Description |
---|---|
static boolean |
CONTINUE_PROCESSING |
static boolean |
PROCESSING_COMPLETE |
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.
|
boolean |
execute(Context context) |
static final boolean CONTINUE_PROCESSING
static final boolean PROCESSING_COMPLETE
Command clone() throws CloneNotSupportedException
CloneNotSupportedException
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.