PreflightProfileRules
A collection of preflight profile rules.
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
Type Name Description 
Number count()
Displays the number of elements in the PreflightProfileRule.
PreflightProfileRule item( Mixed index )
Returns the PreflightProfileRule with the specified index or name.
Parameters
Type Name Description 
PreflightProfileRule itemByName( String name )
Returns the PreflightProfileRule with the specified name.
Parameters
Type Name Description 
PreflightProfileRule itemByID( Number id )
Returns the PreflightProfileRule with the specified ID.
Parameters
Type Name Description 
PreflightProfileRule itemByRange( Mixed from, Mixed to )
Returns the PreflightProfileRules within the specified range.
Parameters
Type Name Description 
PreflightProfileRule firstItem()
Returns the first PreflightProfileRule in the collection.
PreflightProfileRule lastItem()
Returns the last PreflightProfileRule in the collection.
PreflightProfileRule middleItem()
Returns the middle PreflightProfileRule in the collection.
PreflightProfileRule previousItem( PreflightProfileRule obj )
Returns the PreflightProfileRule with the index previous to the specified index.
Parameters
Type Name Description 
PreflightProfileRule nextItem( PreflightProfileRule obj )
Returns the PreflightProfileRule whose index follows the specified PreflightProfileRule in the collection.
Parameters
Type Name Description 
PreflightProfileRule anyItem()
Returns any PreflightProfileRule in the collection.
PreflightProfileRule everyItem()
Returns every PreflightProfileRule in the collection.
String toSource()
Generates a string which, if executed, will return the PreflightProfileRule.
PreflightProfileRule []( Number index )
Returns the PreflightProfileRule with the specified index.
Parameters
Type Name Description