Package | org.swizframework.utils.chain |
Class | public class AbstractChain |
Inheritance | AbstractChain ![]() |
Implements | IChainStep |
Subclasses | CommandChain, EventChain |
Property | Defined By | ||
---|---|---|---|
chain : IChain | AbstractChain | ||
isComplete : Boolean [read-only] | AbstractChain | ||
mode : String = sequence | AbstractChain | ||
position : int | AbstractChain | ||
steps : Array | AbstractChain | ||
stopOnError : Boolean | AbstractChain |
Property | Defined By | ||
---|---|---|---|
_chain : IChain
Backing variable for chain getter/setter. | AbstractChain | ||
_isComplete : Boolean | AbstractChain | ||
_position : int = -1
Backing variable for position getter/setter. | AbstractChain | ||
_stopOnError : Boolean
Backing variable for stopOnError getter/setter. | AbstractChain |
Method | Defined By | ||
---|---|---|---|
AbstractChain(mode:String, stopOnError:Boolean = true) | AbstractChain | ||
AbstractChain | |||
complete():void | AbstractChain | ||
error():void | AbstractChain | ||
hasNext():Boolean | AbstractChain | ||
proceed():void | AbstractChain | ||
start():void | AbstractChain | ||
stepComplete():void | AbstractChain | ||
stepError():void | AbstractChain |
Method | Defined By | ||
---|---|---|---|
fail():void | AbstractChain |
Event | Summary | Defined By | ||
---|---|---|---|---|
AbstractChain | ||||
AbstractChain | ||||
AbstractChain | ||||
AbstractChain | ||||
AbstractChain |
_chain | property |
protected var _chain:IChain
Backing variable for chain
getter/setter.
_isComplete | property |
protected var _isComplete:Boolean
_position | property |
protected var _position:int = -1
Backing variable for position
getter/setter.
_stopOnError | property |
protected var _stopOnError:Boolean
Backing variable for stopOnError
getter/setter.
chain | property |
chain:IChain
public function get chain():IChain
public function set chain(value:IChain):void
isComplete | property |
isComplete:Boolean
[read-only] public function get isComplete():Boolean
mode | property |
public var mode:String = sequence
position | property |
position:int
public function get position():int
public function set position(value:int):void
steps | property |
public var steps:Array
stopOnError | property |
stopOnError:Boolean
public function get stopOnError():Boolean
public function set stopOnError(value:Boolean):void
AbstractChain | () | Constructor |
public function AbstractChain(mode:String, stopOnError:Boolean = true)
mode:String (default = NaN )
| |
stopOnError:Boolean (default = true )
|
addStep | () | method |
complete | () | method |
public function complete():void
error | () | method |
public function error():void
fail | () | method |
protected function fail():void
hasNext | () | method |
public function hasNext():Boolean
Returns
Boolean |
proceed | () | method |
public function proceed():void
start | () | method |
public function start():void
stepComplete | () | method |
public function stepComplete():void
stepError | () | method |
public function stepError():void
chainComplete | Event |
chainFail | Event |
chainStart | Event |
chainStepComplete | Event |
chainStepError | Event |