Newer Version Available
EvaluatedCondition Class
Contains the individual components of an evaluated condition for a
report notification, such as the aggregate name and label, the operator, and the value that
the aggregate is compared to.
Namespace
EvaluatedCondition Constructors
The following are constructors for EvaluatedCondition.
EvaluatedCondition(aggregateName, aggregateLabel, compareToValue, aggregateValue, displayCompareTo, displayValue, operator)
Signature
public EvaluatedCondition(String aggregateName, String aggregateLabel, Double compareToValue, Double aggregateValue, String displayCompareTo, String displayValue, Reports.EvaluatedConditionOperator operator)
Parameters
- aggregateName
- Type: String
- The unique API name of the aggregate.
- aggregateLabel
- Type: String
- The localized display name of the aggregate.
- compareToValue
- Type: Double
- The value that the aggregate is compared to in the condition.
- aggregateValue
- Type: Double
- The actual value of the aggregate when the report is run.
- displayCompareTo
- Type: String
- The value that the aggregate is compared to in the condition, formatted for display. For example, a display value for a currency is $20.00 or USD20.00 instead of 20.00.
- displayValue
- Type: String
- The value of the aggregate when the report is run, formatted for display. For example, a display value for a currency is $20.00 or USD20.00 instead of 20.00.
- operator
- Type: Reports.EvaluatedConditionOperator
- The operator used in the condition.
EvaluatedCondition Methods
The following are methods for EvaluatedCondition.
getDisplayCompareTo()
Returns the value that the aggregate is compared to in the
condition, formatted for display. For example, a display value for a currency is $20.00 or
USD20.00 instead of 20.00.
Signature
public String getDisplayCompareTo()
Return Value
Type: String
getDisplayValue()
Returns the value of the aggregate when the report is run, formatted
for display. For example, a display value for a currency is $20.00 or USD20.00 instead of
20.00.
Signature
public String getDisplayValue()
Return Value
Type: String