PreflightProfileRule
A preflight profile rule.
Superclass of PreflightRuleInstance
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
description | string | readonly | The description of the PreflightProfileRule. |
flag | PreflightRuleFlag: PreflightRuleFlag.RULE_IS_DISABLED PreflightRuleFlag.RETURN_AS_ERROR PreflightRuleFlag.RETURN_AS_WARNING PreflightRuleFlag.RETURN_AS_INFORMATIONAL |
r/w | Indicates whether or not the preflight rule is disabled, set for error, warning, or information level feedback. |
id | string | readonly | The rule ID for this rule. |
index | number | readonly | The index of the PreflightProfileRule within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
label | string | r/w | A property that can be set to any string. |
name | string | readonly | The name of the PreflightProfileRule. |
parent | PreflightProfile | readonly | The parent of the PreflightProfileRule (a PreflightProfile). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
ruleDataObjects | RuleDataObjects | readonly | A collection of prefight rule data objects. |
Methods
Instances
string extractLabel (key:
string)
Gets the label value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Array of PreflightProfileRule getElements ()
Resolves the object specifier, creating an array of object references.
void insertLabel (key:
string, value:
string)
Sets the label to the value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
value | string | The value. |
void remove ()
Deletes the PreflightProfileRule.
string toSource ()
Generates a string which, if executed, will return the PreflightProfileRule.
string toSpecifier ()
Retrieves the object specifier.
Element of
RuleDataObject.parent
Used in:
array of PreflightProfileRule PreflightProfileRules.itemByRange (from: any, to: any)
PreflightProfileRule PreflightProfileRules.nextItem (obj: PreflightProfileRule)
PreflightProfileRule PreflightProfileRules.previousItem (obj: PreflightProfileRule)
Return
Array of PreflightProfileRule PreflightProfileRule.getElements ()
PreflightProfileRule PreflightProfileRules.[] (index: number)
PreflightProfileRule PreflightProfileRules.anyItem ()
Array of PreflightProfileRule PreflightProfileRules.everyItem ()
PreflightProfileRule PreflightProfileRules.firstItem ()
PreflightProfileRule PreflightProfileRules.item (index: any)
PreflightProfileRule PreflightProfileRules.itemByName (name: string)
Array of PreflightProfileRule PreflightProfileRules.itemByRange (from: any, to: any)
PreflightProfileRule PreflightProfileRules.lastItem ()
PreflightProfileRule PreflightProfileRules.middleItem ()
PreflightProfileRule PreflightProfileRules.nextItem (obj: PreflightProfileRule)
PreflightProfileRule PreflightProfileRules.previousItem (obj: PreflightProfileRule)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |