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.
The following are constructors for EvaluatedCondition.
-
Creates a new instance of the
Reports.EvaluatedConditionsclass using the specified parameters.
Creates a new instance of the Reports.EvaluatedConditions class using the specified parameters.
public EvaluatedCondition(String aggregateName, String aggregateLabel, Double compareToValue, Double aggregateValue, String displayCompareTo, String displayValue, Reports.EvaluatedConditionOperator operator)
-
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.
The following are methods for EvaluatedCondition.
-
Returns the localized display name of the aggregate.
-
Returns the unique API name of the aggregate.
-
Returns the value that the aggregate is compared to in the condition.
-
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.
-
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.
-
Returns the operator used in the condition.
-
Returns the actual value of the aggregate when the report is run.
Returns the localized display name of the aggregate.
public String getAggregateLabel()
Type: String
Returns the unique API name of the aggregate.
public String getAggregateName()
Type: String
Returns the value that the aggregate is compared to in the condition.
public Double getCompareTo()
Type: Double
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.
public String getDisplayCompareTo()
Type: String
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.
public String getDisplayValue()
Type: String
Returns the operator used in the condition.
public Reports.EvaluatedConditionOperator getOperator()
Type: Reports.EvaluatedConditionOperator
Returns the actual value of the aggregate when the report is run.
public Double getValue()
Type: Double