Packageorg.spicefactory.parsley.command
Classpublic class ManagedCommands
InheritanceManagedCommands Inheritance Object

API for creating container managed commands programmatically.



Public Methods
 MethodDefined By
  
create(commandType:Class):ManagedCommandBuilder
[static] Creates a builder for the specified command type.
ManagedCommands
  
wrap(command:Object):ManagedCommandBuilder
[static] Creates a builder for the specified command instance.
ManagedCommands
Method Detail
create()method
public static function create(commandType:Class):ManagedCommandBuilder

Creates a builder for the specified command type.

Parameters

commandType:Class

Returns
ManagedCommandBuilder — a new builder for the specified command type
wrap()method 
public static function wrap(command:Object):ManagedCommandBuilder

Creates a builder for the specified command instance.

Parameters

command:Object

Returns
ManagedCommandBuilder — a new builder for the specified command instance