< Back


# Packages

-  package root
  Definition Classes
    root
-  package Alerting
  Definition Classes
    root
-  package utils
  Definition Classes
    Alerting
- AlertUtils
- WSUtil

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: Option[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 getModelMail(mailTemplateFile: String, defaultTemplateFile: String, jobExecutionId: Long, code: String): String
17.  def getOverrunThresholdMessage(threshold: StationThreshold): String
18.  def hasAlertEvent(station: StationLight, jobId: Long, eventSubject: String): Boolean
19.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @IntrinsicCandidate() @native()
20.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
21.  def logAlertWarningsPhoneNumbersEmails(alertTypes: Seq[String], phoneNumbers: Seq[String], emails: Seq[String], jobExecution: Long, stationId: String): Unit
22.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
23.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @IntrinsicCandidate() @native()
24.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @IntrinsicCandidate() @native()
25.  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
26.  def sendAlertNoMeasureFromJob(station: StationLight, lastMeasure: Option[MeasureDate], jobExecutionId: Long, jobId: Long, emails: Seq[String], phoneNumbers: Seq[String], alertTypes: Seq[String], timeLimitMissingData: Option[Int], dataTypeName: String): Unit
27.  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
28.  def sendEndAlertFromJob(station: StationLight, jobExecutionId: Long, jobId: Long, threshold: StationThreshold, emails: Seq[String], alertTypes: Seq[String], phoneNumbers: Seq[String], measure: Measure): Unit
29.  def sendMailAlert(station: StationLight, measure: Measure, threshold: StationThreshold, emails: Seq[String], jobExecutionId: Long, jobId: Long): Unit
30.  def sendMailChangeAlert(station: StationLight, measure: Measure, oldThreshold: StationThreshold, newThreshold: StationThreshold, emails: Seq[String], jobExecutionId: Long, jobId: Long): Unit
31.  def sendMailEndAlert(station: StationLight, measure: Measure, threshold: StationThreshold, emails: Seq[String], jobExecutionId: Long, jobId: Long): Unit
32.  def sendMailNoMeasure(station: StationLight, lastMeasure: Option[MeasureDate], emails: Seq[String], timeLimitMissingData: Int, dataTypeName: String, jobExecutionId: Long, jobId: Long): Unit
33.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
34.  def testMailNoMeasure(emails: Seq[String]): Unit
35.  def testMailThresholdOverflow(emails: Seq[String]): Unit
36.  def toString(): String
    Definition Classes
      AnyRef → Any
37.  def updateEventsWithAlerts(station: StationLight, jobId: Long, allNewAlerts: Seq[(StationThreshold, Boolean)]): Unit
38.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
39.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
40.  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