Created
May 23, 2010 01:47
-
-
Save swiz/410557 to your computer and use it in GitHub Desktop.
Chain API examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IAutonomousChainStep extends IChainStep | |
{ | |
function doProceed():void; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IChain | |
{ | |
function get position():int; | |
function set position( value:int ):void; | |
function get isComplete():Boolean; | |
function get stopOnError():Boolean; | |
function set stopOnError( value:Boolean ):void; | |
function hasNext():Boolean; | |
function stepComplete():void; | |
function stepError():void; | |
function addStep( step:IChainStep ):IChain; | |
function doProceed():void; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IChainStep | |
{ | |
function get chain():IChain; | |
function set chain( value:IChain ):void; | |
function get isComplete():Boolean; | |
function complete():void; | |
function error():void; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment