Packageorg.spicefactory.lib.command.builder
Classpublic class DefaultLinkBuilder
InheritanceDefaultLinkBuilder Inheritance Object

Builder for specifying the default action for a flow when a command result does not have any matching links.



Public Properties
 PropertyDefined By
  link : CommandLink
DefaultLinkBuilder
Public Methods
 MethodDefined By
  
Sets flow cancellation as the default action when a command result does not have any matching links.
DefaultLinkBuilder
  
Sets successful flow completion as the default action when a command result does not have any matching links.
DefaultLinkBuilder
  
Sets an error with the specified value as the default action when a command result does not have any matching links.
DefaultLinkBuilder
Property Detail
linkproperty
public var link:CommandLink

Method Detail
toFlowCancellation()method
public function toFlowCancellation():CommandFlowBuilder

Sets flow cancellation as the default action when a command result does not have any matching links.

Returns
CommandFlowBuilder — the flow builder for further configuration
toFlowEnd()method 
public function toFlowEnd():CommandFlowBuilder

Sets successful flow completion as the default action when a command result does not have any matching links.

Returns
CommandFlowBuilder — the flow builder for further configuration
toFlowError()method 
public function toFlowError(value:Object):CommandFlowBuilder

Sets an error with the specified value as the default action when a command result does not have any matching links.

Parameters

value:Object

Returns
CommandFlowBuilder — the flow builder for further configuration