Package | com.asfusion.mate.actionLists |
Class | public class ServiceScope |
Inheritance | ServiceScope Scope |
IActionList
.
It represents the running scope of a IActionList
.
The IActionList
and its actions share this object to transfer data
between them.
Property | Defined by | ||
---|---|---|---|
currentEvent : Event
Current Event, different from the original event when
a sub-action-list is running.
| Scope | ||
currentTarget : Object
The current target that is using this scope.
| Scope | ||
data : Object
Data Object (holder for custom data)
| Scope | ||
dispatcher : IEventDispatcher
Instance of the
IEventDispatcher that will be used to dispatch events
or to register to events. | Scope | ||
event : Event
Original Event that triggered the
IActionList . | Scope | ||
eventMap : IEventMap
Instance of the
EventMap where this scope lives. | Scope | ||
fault : Object
Fault Object returned from the service
| ServiceScope | ||
lastReturn : *
return from the last
IAction run
| Scope | ||
owner : IActionList
The
IActionList that created this scope. | Scope | ||
result : Object
Result Object returned from the service
| ServiceScope | ||
running : Boolean = true
Flag that indicates whether
IActionList is running or not. | Scope |
Method | Defined by | ||
---|---|---|---|
ServiceScope(event:Event, active:Boolean, inheritScope:IScope = null)
Constructor
| ServiceScope | ||
errorString():String
Retuns the default error string to be used by the debugger.
| Scope | ||
getCurrentTarget():Object
Returns the current target that is using this scope.
| Scope | ||
getDocument():Object
A reference to the document object associated with this
ILoggerProvider . | Scope | ||
Returns an
IMateLogger used to log errors. | Scope | ||
Returns an instance of
IMateManager used to get the logger and dispatcher. | Scope | ||
isRunning():Boolean
Returns a boolean indicating if the
IActionList is running or not. | Scope | ||
stopRunning():void
Stops the
IActionList flow. | Scope |
fault | property |
public var fault:Object
Fault Object returned from the service
result | property |
public var result:Object
Result Object returned from the service
ServiceScope | () | constructor |
public function ServiceScope(event:Event, active:Boolean, inheritScope:IScope = null)
Constructor
Parametersevent:Event |
|
active:Boolean |
|
inheritScope:IScope (default = null )
|