Package | org.spicefactory.parsley.comobserver |
Class | public class CommandError |
Inheritance | CommandError Object |
Method | Defined By | ||
---|---|---|---|
apply(builder:ObjectDefinitionBuilder):void
Applies this configuration to the specified definition builder. | CommandError | ||
forMethod(method:String):CommandError [static]
Creates a new builder for a command result handler. | CommandError | ||
order(value:int):CommandError
Sets the execution order for this message receiver. | CommandError | ||
scope(name:String):CommandError
Sets the name of the scope this message receiver should be applied to. | CommandError | ||
selector(value:*):CommandError
Sets an optional selector value to be used in addition to selecting messages by type. | CommandError | ||
type(value:Class):CommandError
Sets the type of the messages the message receiver wants to handle. | CommandError |
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
|
forMethod | () | method |
public static function forMethod(method:String):CommandError
Creates a new builder for a command result handler.
Parameters
method:String — the method that handles the result
|
CommandError — a new builder for a command result handler
|
order | () | method |
public function order(value:int):CommandError
Sets the execution order for this message receiver. Will be processed in ascending order.
The default is int.MAX_VALUE
.
Parameters
value:int — the execution order for this message receiver
|
CommandError — this builder instance for method chaining
|
scope | () | method |
public function scope(name:String):CommandError
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
|
CommandError — this builder instance for method chaining
|
selector | () | method |
public function selector(value:*):CommandError
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
|
CommandError — this builder instance for method chaining
|
type | () | method |
public function type(value:Class):CommandError
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
|
CommandError — this builder instance for method chaining
|