Packageorg.spicefactory.lib.command.flow
Interfacepublic interface CommandLinkProcessor

Allows a CommandLink to specify the next action to perform by a CommandFlow.



Public Methods
 MethodDefined By
  
cancel():void
Causes the flow to get cancelled.
CommandLinkProcessor
  
complete():void
Causes the flow to signal successfull completion.
CommandLinkProcessor
  
error(cause:Object):void
Causes the flow to abort with the specified error.
CommandLinkProcessor
  
execute(command:Command):void
Executes the specified command in the flow.
CommandLinkProcessor
Method Detail
cancel()method
public function cancel():void

Causes the flow to get cancelled.

complete()method 
public function complete():void

Causes the flow to signal successfull completion.

error()method 
public function error(cause:Object):void

Causes the flow to abort with the specified error.

Parameters

cause:Object — the error the flow should abort with

execute()method 
public function execute(command:Command):void

Executes the specified command in the flow.

Parameters

command:Command — the command to execute