Packagecom.jadbox.flashmvc
Classpublic final class Performance

SuperModel can process a Performance class that mocks up the command that needs to run, its params, and a callback for success and fail.



Public Properties
 PropertyDefined by
  name : String
Name of the action class
Performance
  onComplete : Function
OnCompete function for when the class executes successfully.
Performance
  onFail : Function
OnFail function for when the class designates that it failed.
Performance
  params : Array
Paremeters for the action class
Performance
  status : String
Performance
  superModel : SuperModel
Internal only - DO NOT USE
Performance
Public Methods
 MethodDefined by
  
Performance(name:String = "", onComplete:Function = null, onFail:Function = null, ... params)
Main contructor that can take in all the class fields.
Performance
Property detail
nameproperty
public var name:String

Name of the action class

onCompleteproperty 
public var onComplete:Function

OnCompete function for when the class executes successfully.

onFailproperty 
public var onFail:Function

OnFail function for when the class designates that it failed.

paramsproperty 
public var params:Array

Paremeters for the action class

statusproperty 
public var status:String
superModelproperty 
public var superModel:SuperModel

Internal only - DO NOT USE

Constructor detail
Performance()constructor
public function Performance(name:String = "", onComplete:Function = null, onFail:Function = null, ... params)

Main contructor that can take in all the class fields.

Parameters
name:String (default = "")
 
onComplete:Function (default = null)
 
onFail:Function (default = null)
 
... params