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

Represents a condition of a CommandLink.



Public Methods
 MethodDefined By
  
matches(result:CommandResult):Boolean
Determines whether the condition this instance represents is met based on the specified result of the preceding command in the flow.
LinkCondition
Method Detail
matches()method
public function matches(result:CommandResult):Boolean

Determines whether the condition this instance represents is met based on the specified result of the preceding command in the flow.

Parameters

result:CommandResult — the result of the preceding command in the flow

Returns
Boolean — true if the condition is met and the associated link action should be performed