Package | org.spicefactory.parsley.command.impl |
Class | public class DefaultManagedCommandProxy |
Inheritance | DefaultManagedCommandProxy ![]() ![]() ![]() ![]() ![]() ![]() |
Implements | ManagedCommandProxy |
Property | Defined By | ||
---|---|---|---|
![]() | active : Boolean [read-only]
Indicates whether this command is currently executing. | AbstractAsyncCommand | |
![]() | cancellable : Boolean [read-only]
Indicates whether this executor can be cancelled. | AbstractCommandExecutor | |
context : Context [write-only]
The Context the command belongs to. | DefaultManagedCommandProxy | ||
![]() | description : String [write-only]
A description of the command executed by this proxy. | DefaultCommandProxy | |
![]() | domain : ApplicationDomain
The domain to use in case reflection on the command classes
this exeutor deals with is required. | AbstractCommandExecutor | |
id : String
The id the command is registered with in the Context. | DefaultManagedCommandProxy | ||
![]() | suspendable : Boolean [read-only]
Indicates whether this executor can be suspended. | AbstractCommandExecutor | |
![]() | suspended : Boolean [read-only]
Indicates whether this command is currently suspended. | AbstractSuspendableCommand | |
![]() | target : Command
The target command executed by this proxy. | DefaultCommandProxy | |
![]() | timeout : uint
The timeout in milliseconds. | DefaultCommandProxy | |
![]() | type : Class [write-only]
The type of comamnd that this proxy should execute. | DefaultCommandProxy |
Method | Defined By | ||
---|---|---|---|
Creates a new instance. | DefaultManagedCommandProxy | ||
![]() | addData(value:Object):void
Adds a value to this executor that can get passed to any command
executed by this instance. | AbstractCommandExecutor | |
![]() | cancel():void
Cancels the command. | AbstractCancellableCommand | |
![]() | execute():void
Starts the execution of this command. | AbstractAsyncCommand | |
![]() |
Method that may be called by frameworks before executing this command to hook
into the lifecycle and data handling of this executor. | AbstractCommandExecutor | |
![]() | resume():void
Resumes the command. | AbstractSuspendableCommand | |
![]() | suspend():void
Suspends the command. | AbstractSuspendableCommand |
context | property |
context:Context
[write-only] The Context the command belongs to.
public function set context(value:Context):void
id | property |
id:String
The id the command is registered with in the Context.
public function get id():String
public function set id(value:String):void
DefaultManagedCommandProxy | () | Constructor |
public function DefaultManagedCommandProxy(context:Context = null, target:Command = null, id:String = null)
Creates a new instance.
Parameterscontext:Context (default = null ) — the Context the command belongs to
| |
target:Command (default = null ) — the target command to be executed by this proxy
| |
id:String (default = null ) — the id the command is registered with in the Context
|