Packageimpression.events
Classpublic class RemediationRequestEvent
InheritanceRemediationRequestEvent Inheritance StoryboardEvent Inheritance flash.events.Event

The SimulationPlayer dispatches a RemediationRequestEvent object when remediation should be performed.



Public Properties
 PropertyDefined By
  message : String
[read-only] The remediation message to display.
RemediationRequestEvent
  remediationCount : Number
The number of times remediation requests have occurred for the storyboard.
RemediationRequestEvent
  remediationData : *
[read-only] Additional remediation data.
RemediationRequestEvent
 Inheritedsb : Storyboard
[read-only] The Storyboard object assigned to the target.
StoryboardEvent
Public Methods
 MethodDefined By
  
RemediationRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, sb:Storyboard = null, message:String, remediationData:* = null, remediationCount:Number = 0)
Creates a new instance of a RemediationRequestEvent object.
RemediationRequestEvent
  
clone():Event
[override] Duplicates an instance of the event object.
RemediationRequestEvent
  
toString():String
[override] Returns a string containing all the properties of the RemediationRequestEvent object.
RemediationRequestEvent
Public Constants
 ConstantDefined By
 InheritedCOMPLETE : String = complete
[static] The StoryboardEvent.COMPLETE constant defines the value of the type property of a complete event object.
StoryboardEvent
 InheritedCONTENT_LOAD_BEGIN : String = contentLoadBegin
[static] The StoryboardEvent.CONTENT_LOAD_BEGIN constant defines the value of the type property of a content load begin event object.
StoryboardEvent
 InheritedCONTENT_LOAD_END : String = contentLoadEnd
[static] The StoryboardEvent.CONTENT_LOAD_END constant defines the value of the type property of a content load end event object.
StoryboardEvent
 InheritedINITIALIZE : String = initialize
[static] The StoryboardEvent.INITIALIZE constant defines the value of the type property of a initialize event object.
StoryboardEvent
 InheritedLOAD_COMPLETE : String = loadComplete
[static] The StoryboardEvent.LOAD_COMPLETE constant defines the value of the type property of a load event object.
StoryboardEvent
 InheritedLOAD_START : String = loadStart
[static] The StoryboardEvent.LOAD_START constant defines the value of the type property of an load start event object.
StoryboardEvent
  REMEDIATION_REQUEST : String = remediationRequest
[static] The RemediationRequestEvent.REMEDIATION_REQUEST constant defines the value of the type property of a remediation request event object.
RemediationRequestEvent
 InheritedUNLOAD : String = unload
[static] The StoryboardEvent.UNLOAD constant defines the value of the type property of an unload event object.
StoryboardEvent
Property Detail
messageproperty
message:String  [read-only]

The remediation message to display.


Implementation
    public function get message():String
remediationCountproperty 
remediationCount:Number

The number of times remediation requests have occurred for the storyboard.

When dispatching a RemediationRequestEvent event, the SimulationPlayer increments value of the current storyboard's RemediationCount persisted property and passes that value to the object constructor. When execution returns to the player, the value of this object's remediationCount property is used to set the value of the storyboard's RemediationCount persisted property.


Implementation
    public function get remediationCount():Number
    public function set remediationCount(value:Number):void
remediationDataproperty 
remediationData:*  [read-only]

Additional remediation data. This data is project-defined and is copied from the RulesEngineRemediationRequest event object by the SimulationPlayer and added to this event.


Implementation
    public function get remediationData():*

See also

RulesEngineRemediationRequest
Constructor Detail
RemediationRequestEvent()Constructor
public function RemediationRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, sb:Storyboard = null, message:String, remediationData:* = null, remediationCount:Number = 0)

Creates a new instance of a RemediationRequestEvent object.

Parameters
type:String — The type of the event. Event listeners can access this information through the inherited type property.
 
bubbles:Boolean (default = false) — Determines whether the event object participates in the bubbling phase of the event flow. Event listeners can access this information through the inheritied bubbles property.
 
cancelable:Boolean (default = false) — Determines whether the event object can be canceled. Event listeners can access this information through the inherited cancelable property.
 
sb:Storyboard (default = null) — The Storyboard object assigned to the target. Event listeners can access this information through the inherited sb property.
 
message:String — The remediation message to display. Event listeners can access this information through the message property.
 
remediationData:* (default = null) — Additional remediation data. Event listeners can access this information through the remediationData property.
 
remediationCount:Number (default = 0) — The number of times remediation requests have occurred for the storyboard. Event listeners can access this information through the remediationCount property.
Method Detail
clone()method
override public function clone():Event

Duplicates an instance of the event object.

Returns a new RemediationRequestEvent object that is a copy of the original instance of the RemediationRequestEvent object. You do not normally call clone(); the EventDispatcher class calls it automatically when you redispatch an event--that is, when you call dispatchEvent(event) from a handler that is handling event.

Returns
Event — A new RemediationRequestEvent object that is identical to the original.
toString()method 
override public function toString():String

Returns a string containing all the properties of the RemediationRequestEvent object. The string is in the following format:

[RemediationRequestEvent type=value bubbles=value cancelable=value eventPhase=value sb=value message=value remediationData=value remediationCount=value]

Returns
String — A string containing all the properties of the RemediationRequestEvent object.
Constant Detail
REMEDIATION_REQUESTConstant
public static const REMEDIATION_REQUEST:String = remediationRequest

The RemediationRequestEvent.REMEDIATION_REQUEST constant defines the value of the type property of a remediation request event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
sbThe Storyboard object assigned to the target.
messageThe remediation message to display.
remediationDataAdditional remediation data.
remediationCountThe number of times remediation requests have occurred for the storyboard.