final case class CheckCalculatorResult(checkId: String, checkName: String, sourceIds: Seq[String], baseMetric: String, comparedMetric: Seq[String], comparedThreshold: Option[Double], lowerBound: Option[Double], upperBound: Option[Double], status: CalculatorStatus, message: String, resultType: ResultType = ResultType.Check) extends TypedResult with Product with Serializable
Check calculator result.
- checkId
Check ID
- checkName
Check calculator name
- baseMetric
Base metric used to build check
- comparedMetric
Sequence of metrics to compare with.
- comparedThreshold
Threshold to compare with
- lowerBound
Allowed lower bound for base metric value
- upperBound
Allowed upper bound for base metric value
- status
Check status
- message
Check message
- resultType
Type of result
- Note
Expression checks can utilize multiple metrics. Therefore, compareMetric field is represented as sequence: when compare metric is absent the empty sequence will be written, otherwise sequence containing one or more metric IDs will be written.
- Alphabetic
- By Inheritance
- CheckCalculatorResult
- Serializable
- Serializable
- Product
- Equals
- TypedResult
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CheckCalculatorResult(checkId: String, checkName: String, sourceIds: Seq[String], baseMetric: String, comparedMetric: Seq[String], comparedThreshold: Option[Double], lowerBound: Option[Double], upperBound: Option[Double], status: CalculatorStatus, message: String, resultType: ResultType = ResultType.Check)
- checkId
Check ID
- checkName
Check calculator name
- baseMetric
Base metric used to build check
- comparedMetric
Sequence of metrics to compare with.
- comparedThreshold
Threshold to compare with
- lowerBound
Allowed lower bound for base metric value
- upperBound
Allowed upper bound for base metric value
- status
Check status
- message
Check message
- resultType
Type of result
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseMetric: String
- val checkId: String
- val checkName: String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val comparedMetric: Seq[String]
- val comparedThreshold: Option[Double]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(description: Option[String], metadata: Option[String], isCritical: Boolean)(implicit jobId: String, settings: AppSettings): ResultCheck
Converts check calculator result to final check result representation suitable for storing into results storage and sending via targets.
Converts check calculator result to final check result representation suitable for storing into results storage and sending via targets.
- description
Check description
- metadata
Metadata parameters specific to this check (JSON List string)
- jobId
Implicit Job ID
- settings
Implicit application settings object
- returns
Finalized check result
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lowerBound: Option[Double]
- val message: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
resultType: ResultType
- Definition Classes
- CheckCalculatorResult → TypedResult
- val sourceIds: Seq[String]
- val status: CalculatorStatus
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val upperBound: Option[Double]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()