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

Reports

EvaluatedCondition Constructors

The following are constructors for EvaluatedCondition.

EvaluatedCondition(aggregateName, aggregateLabel, compareToValue, aggregateValue, operator)

Creates a new instance of the Reports.EvaluatedConditions class using the specified parameters.

Signature

public EvaluatedCondition(String aggregateName, String aggregateLabel, Double compareToValue, Double aggregateValue, 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.
operator
Type: Reports.EvaluatedConditionOperator
The operator used in the condition.

EvaluatedCondition Methods

The following are methods for EvaluatedCondition.

getAggregateLabel()

Returns the localized display name of the aggregate.

Signature

public String getAggregateLabel()

Return Value

Type: String

getAggregateName()

Returns the unique API name of the aggregate.

Signature

public String getAggregateName()

Return Value

Type: String

getCompareTo()

Returns the value that the aggregate is compared to in the condition.

Signature

public Double getCompareTo()

Return Value

Type: Double

getOperator()

Returns the operator used in the condition.

Signature

public Reports.EvaluatedConditionOperator getOperator()

getValue()

Returns the actual value of the aggregate when the report is run.

Signature

public Double getValue()

Return Value

Type: Double