| Package | org.spicefactory.parsley.dsl.messaging |
| Interface | public interface MessageReceiverBuilder |
| Implementors | DefaultMessageReceiverBuilder |
| Method | Defined By | ||
|---|---|---|---|
order(value:int):MessageReceiverBuilder
Sets the execution order for this message receiver. | MessageReceiverBuilder | ||
scope(name:String):MessageReceiverBuilder
Sets the name of the scope this message receiver should be applied to. | MessageReceiverBuilder | ||
selector(value:*):MessageReceiverBuilder
Sets an optional selector value to be used in addition to selecting messages by type. | MessageReceiverBuilder | ||
type(value:Class):MessageReceiverBuilder
Sets the type of the messages the message receiver wants to handle. | MessageReceiverBuilder | ||
| order | () | method |
public function order(value:int):MessageReceiverBuilder
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
|
MessageReceiverBuilder — this builder instance for method chaining
|
| scope | () | method |
public function scope(name:String):MessageReceiverBuilderSets 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
|
MessageReceiverBuilder — this builder instance for method chaining
|
| selector | () | method |
public function selector(value:*):MessageReceiverBuilderSets 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
|
MessageReceiverBuilder — this builder instance for method chaining
|
| type | () | method |
public function type(value:Class):MessageReceiverBuilderSets 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
|
MessageReceiverBuilder — this builder instance for method chaining
|