PreflightRuleInstances
A collection of preflight rule instances.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Mixed add( String id, Object withProperties )
Adds a new preflight rule to the profile.
Parameters
Number count()
Displays the number of elements in the PreflightRuleInstance.
PreflightRuleInstance item( Mixed index )
Returns the PreflightRuleInstance with the specified index or name.
Parameters
PreflightRuleInstance itemByName( String name )
Returns the PreflightRuleInstance with the specified name.
Parameters
PreflightRuleInstance itemByID( Number id )
Returns the PreflightRuleInstance with the specified ID.
Parameters
PreflightRuleInstance itemByRange( Mixed from, Mixed to )
Returns the PreflightRuleInstances within the specified range.
Parameters
PreflightRuleInstance firstItem()
Returns the first PreflightRuleInstance in the collection.
PreflightRuleInstance lastItem()
Returns the last PreflightRuleInstance in the collection.
PreflightRuleInstance middleItem()
Returns the middle PreflightRuleInstance in the collection.
PreflightRuleInstance previousItem( PreflightRuleInstance obj )
Returns the PreflightRuleInstance with the index previous to the specified index.
Parameters
PreflightRuleInstance nextItem( PreflightRuleInstance obj )
Returns the PreflightRuleInstance whose index follows the specified PreflightRuleInstance in the collection.
Parameters
PreflightRuleInstance anyItem()
Returns any PreflightRuleInstance in the collection.
PreflightRuleInstance everyItem()
Returns every PreflightRuleInstance in the collection.
String toSource()
Generates a string which, if executed, will return the PreflightRuleInstance.
PreflightRuleInstance []( Number index )
Returns the PreflightRuleInstance with the specified index.