Packageorg.spicefactory.parsley.command.impl
Interfacepublic interface CommandTriggerProvider
Implementors DefaultCommandTriggerProvider

Strategy that allows to determine the trigger message type for a command based on the type of the command.



Public Methods
 MethodDefined By
  
Returns the trigger message for the specified command type or null if it cannot be determined.
CommandTriggerProvider
Method Detail
getTriggerType()method
public function getTriggerType(commandType:ClassInfo):ClassInfo

Returns the trigger message for the specified command type or null if it cannot be determined.

Parameters

commandType:ClassInfo — the type of the target command

Returns
ClassInfo — the trigger message type for the specified command