Packageorg.spicefactory.lib.command.flow
Classpublic class CommandLinks
InheritanceCommandLinks Inheritance Object

Helper class to create basic link actions.



Public Properties
 PropertyDefined By
  defaultLink : CommandLink
[static] Specifies the default link to use when a CommandFlow does not have an explicit default link.
CommandLinks
Public Methods
 MethodDefined By
  
[static] Creates a link that causes flow cancellation.
CommandLinks
  
[static] Creates a link that causes successful flow completion.
CommandLinks
  
toFlowError(value:Object):CommandLink
[static] Creates a link that causes the flow to abort with the specified error.
CommandLinks
Property Detail
defaultLinkproperty
defaultLink:CommandLink

Specifies the default link to use when a CommandFlow does not have an explicit default link.


Implementation
    public static function get defaultLink():CommandLink
    public static function set defaultLink(value:CommandLink):void
Method Detail
toFlowCancellation()method
public static function toFlowCancellation():CommandLink

Creates a link that causes flow cancellation.

Returns
CommandLink — a link that causes flow cancellation
toFlowEnd()method 
public static function toFlowEnd():CommandLink

Creates a link that causes successful flow completion.

Returns
CommandLink — a link that causes successful flow completion
toFlowError()method 
public static function toFlowError(value:Object):CommandLink

Creates a link that causes the flow to abort with the specified error.

Parameters

value:Object — the cause of the error

Returns
CommandLink — a link that causes the flow to abort with the specified error