Package | org.spicefactory.lib.command.flow |
Class | public class LinkConditions |
Inheritance | LinkConditions Object |
Method | Defined By | ||
---|---|---|---|
[static]
Creates a condition that matches all results (except for cancellations and errors). | LinkConditions | ||
forResultProperty(name:String, value:Object):LinkCondition [static]
Creates a condition for the specified result property value. | LinkConditions | ||
forResultType(type:Class):LinkCondition [static]
Creates a condition for the specified result type. | LinkConditions | ||
forResultValue(value:Object):LinkCondition [static]
Creates a condition for the specified result value. | LinkConditions |
forAllResults | () | method |
public static function forAllResults():LinkCondition
Creates a condition that matches all results (except for cancellations and errors).
ReturnsLinkCondition — a condition instance for all results
|
forResultProperty | () | method |
public static function forResultProperty(name:String, value:Object):LinkCondition
Creates a condition for the specified result property value.
Parameters
name:String — the name of the property of the result
| |
value:Object — the property value that a command result must hold for this condition to be met
|
LinkCondition — a condition instance for the specified result result property value
|
forResultType | () | method |
public static function forResultType(type:Class):LinkCondition
Creates a condition for the specified result type.
Parameters
type:Class — the result type that a command must produce for this condition to be met
|
LinkCondition — a condition instance for the specified result type
|
forResultValue | () | method |
public static function forResultValue(value:Object):LinkCondition
Creates a condition for the specified result value.
Parameters
value:Object — the result value that a command must produce for this condition to be met
|
LinkCondition — a condition instance for the specified result value
|