Packageorg.spicefactory.lib.command.builder
Interfacepublic interface CommandBuilder
Implementors AbstractCommandBuilder

Represents a builder that produces command proxies. Most classes of the builder API implement this interfaces.



Public Methods
 MethodDefined By
  
Builds the target command, applying all configurations specified through this builder instance.
CommandBuilder
  
Builds and executes the target command.
CommandBuilder
Method Detail
build()method
public function build():CommandProxy

Builds the target command, applying all configurations specified through this builder instance.

Returns
CommandProxy — the command proxy will all configuration of this builder applied
execute()method 
public function execute():CommandProxy

Builds and executes the target command. A shortcut for calling build().execute(). In case of asynchronous commands the returned proxy will still be active. In case of synchronous commands it will already be completed, so that adding event listeners won't have any effect.

Returns
CommandProxy — the command that was built and executed by this builder