Represents a single link between two commands or a command and a flow action like
cancellation or completion.
public function link(result:CommandResult, processor:CommandLinkProcessor):void
Invoked after a command in the flow finished executing.
The implementation is supposed to invoke the corresponding
action in the specified processor if the specified result
matches its conditions. If not the implementation should not
invoke anything on the processor in which case the next link
for the same command (if available) will get invoked
(Chain of Responsiblity Pattern).
result:CommandResult — the result the preceding command produced
processor:CommandLinkProcessor — the processor that can be used to specify the next action the flow should perform
Mon Feb 6 2012, 01:04 AM +01:00