Packages

c

Alerting.utils

AlertUtils

class AlertUtils extends AnyRef

Annotations
@Singleton()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AlertUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AlertUtils()(implicit logUtil: LogUtil, mailDao: MailDao, smsUtils: SmsUtils, mailUtils: MailUtils, sieauParametersDao: SieauParametersDao, database: Database)
    Annotations
    @Inject()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def checkMeasure(threshold: StationThreshold, last2Measures: Seq[Measure]): String
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def closeEventIfExists(station: StationLight, jobId: Long, eventSubject: String): Int
  8. def closeEventNoMeasureIfExists(station: StationLight, jobId: Long, timeLimitMissingData: Int): Unit
  9. def createEventIfNotExists(station: StationLight, jobId: Long, eventSubject: String): Int
  10. val directoryEnv: String
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def getLast2Measures(station: StationLight, typeId: Int): Seq[Measure]
  15. def getMaxThresholdAlert(thresholds: Seq[(StationThreshold, Boolean)]): Option[StationThreshold]
  16. def getOverrunThresholdMessage(threshold: StationThreshold): String
  17. def hasAlertEvent(station: StationLight, jobId: Long, eventSubject: String): Boolean
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def logAlertWarningsPhoneNumbersEmails(alertTypes: Seq[String], phoneNumbers: Seq[String], emails: Seq[String], jobExecution: Long, stationId: String): Unit
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. def sendAlertFromJob(station: StationLight, jobExecutionId: Long, jobId: Long, threshold: StationThreshold, emails: Seq[String], phoneNumbers: Seq[String], alertTypes: Seq[String], measure: Measure, allNewAlerts: Seq[(StationThreshold, Boolean)]): Unit
  25. def sendAlertNoMeasureFromJob(station: StationLight, lastMeasure: Option[MeasureDate], jobExecutionId: Long, jobId: Long, emails: Seq[String], phoneNumbers: Seq[String], alertTypes: Seq[String], timeLimitMissingData: Int, dataTypeName: String): Unit
  26. def sendChangeAlertFromJob(station: StationLight, jobExecutionId: Long, jobId: Long, oldThreshold: StationThreshold, newThreshold: StationThreshold, emails: Seq[String], phoneNumbers: Seq[String], alertTypes: Seq[String], measure: Measure, allNewAlerts: Seq[(StationThreshold, Boolean)]): Unit
  27. def sendEndAlertFromJob(station: StationLight, jobExecutionId: Long, jobId: Long, threshold: StationThreshold, emails: Seq[String], alertTypes: Seq[String], phoneNumbers: Seq[String], measure: Measure, allNewAlerts: Seq[(StationThreshold, Boolean)]): Unit
  28. def sendMailAlert(station: StationLight, measure: Measure, threshold: StationThreshold, emails: Seq[String]): Unit
  29. def sendMailChangeAlert(station: StationLight, measure: Measure, oldThreshold: StationThreshold, newThreshold: StationThreshold, emails: Seq[String]): Unit
  30. def sendMailEndAlert(station: StationLight, measure: Measure, threshold: StationThreshold, emails: Seq[String]): Unit
  31. def sendMailNoMeasure(station: StationLight, lastMeasure: Option[MeasureDate], emails: Seq[String], timeLimitMissingData: Int, dataTypeName: String): Unit
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def testMailNoMeasure(emails: Seq[String]): Unit
  34. def testMailThresholdOverflow(emails: Seq[String]): Unit
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def updateEventsWithAlerts(station: StationLight, jobId: Long, allNewAlerts: Seq[(StationThreshold, Boolean)]): Unit
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped