Packageorg.spicefactory.parsley.comobserver
Classpublic class CommandStatus
InheritanceCommandStatus Inheritance Object

API for configuring properties that serve as a flag for indicating whether any matching asynchronous command is currently active.



Public Methods
 MethodDefined By
  
Applies this configuration to the specified definition builder.
CommandStatus
  
forProperty(property:String):CommandStatus
[static] Creates a new builder for a command status.
CommandStatus
  
scope(name:String):CommandStatus
Sets the name of the scope this message receiver should be applied to.
CommandStatus
  
Sets an optional selector value to be used in addition to selecting messages by type.
CommandStatus
  
type(value:Class):CommandStatus
Sets the type of the messages the message receiver wants to handle.
CommandStatus
Method Detail
apply()method
public function apply(builder:ObjectDefinitionBuilder):void

Applies this configuration to the specified definition builder.

Parameters

builder:ObjectDefinitionBuilder — the builder to apply this configuration to

forProperty()method 
public static function forProperty(property:String):CommandStatus

Creates a new builder for a command status.

Parameters

property:String — the name of the property to bind the status to

Returns
CommandStatus — a new builder for a command status
scope()method 
public function scope(name:String):CommandStatus

Sets the name of the scope this message receiver should be applied to.

Parameters

name:String — the name of the scope this message receiver should be applied to

Returns
CommandStatus — this builder instance for method chaining
selector()method 
public function selector(value:*):CommandStatus

Sets an optional selector value to be used in addition to selecting messages by type.

Parameters

value:* — an optional selector value to be used in addition to selecting messages by type

Returns
CommandStatus — this builder instance for method chaining
type()method 
public function type(value:Class):CommandStatus

Sets the type of the messages the message receiver wants to handle.

Parameters

value:Class — the type of the messages the message receiver wants to handle

Returns
CommandStatus — this builder instance for method chaining