Class Index

Classes


Class DatabaseAction


Extends CompositionItem.

Class Summary
Constructor Attributes Constructor Name and Description
 
Represents an DatabaseAction within the Composition.
Field Summary
Field Attributes Field Name and Description
{boolean}  
True if this Database Action had any validation failures.
{Target}  
The Target object for this Database Action.
{String}  
The value "Database Action".
Fields borrowed from class CompositionItem:
children, completionType, failureText, forEachValue, hasErrorEvents, index, name, nextItem, parent, path, playNumber, playNumberBeforeRenewal, playNumberWithinRenewal, previousItem, propertyList, REPEAT_DISTRIBUTION_CONSTANT, REPEAT_TIMING_PARALLEL, REPEAT_TIMING_SERIAL, REPEAT_TYPE_COUNT_CONSTANT, repeatIndex, systemPropertyList
Method Summary
Method Attributes Method Name and Description
 
Clears any current response from memory.
 
Returns a string containing the output of the Database Action.
Methods borrowed from class CompositionItem:
clearRepeat, end, endRepeat, getChild, getItemViaPath, setRepeat
Class Detail
DatabaseAction()
Represents an DatabaseAction within the Composition.
Field Detail
{boolean} hasValidationFailures
True if this Database Action had any validation failures.

False until the Database Action plays. If the Database Action never plays, remains false.

Read only.


{Target} target
The Target object for this Database Action. Can be null.

Read only.


{String} type
The value "Database Action". Read only.
Method Detail
clearResponse()
Clears any current response from memory.

Can be used after the Database Action plays to free up the memory used to hold the response if the Database Action does not have scope "private".

If the Database Action has scope private, this call is not necessary, since the memory will be freed automatically by the system when it goes out of scope.


getResponse()
Returns a string containing the output of the Database Action.

If the Database Action did not return any output, or the Database Action has not been played yet, null is returned.

Returns:
The output from the Database Action.

SOASTA CloudTest Script Documentation (build 8744.736). Copyright 2006-2011. All rights reserved.