c

uk.gov.hmrc.alertconfig.builder

EnvironmentAlertBuilder

case class EnvironmentAlertBuilder(handlerName: String, command: Option[JsValue] = None, enabledEnvironments: Map[Environment, Set[Severity]] = Map((Environment.Production, Set(Severity.Ok, Severity.Warning, Severity.Critical))), customEnvironmentNames: Map[Environment, String] = Map((Environment.Production, "aws_production")), handlerFilters: Map[Environment, JsValue] = Map((Environment.Production, JsString("occurrences")))) extends Product with Serializable

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EnvironmentAlertBuilder
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EnvironmentAlertBuilder(handlerName: String, command: Option[JsValue] = None, enabledEnvironments: Map[Environment, Set[Severity]] = Map((Environment.Production, Set(Severity.Ok, Severity.Warning, Severity.Critical))), customEnvironmentNames: Map[Environment, String] = Map((Environment.Production, "aws_production")), handlerFilters: Map[Environment, JsValue] = Map((Environment.Production, JsString("occurrences"))))

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. def alertConfigFor(environment: Environment): (String, JsObject)
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. val command: Option[JsValue]
  8. val customEnvironmentNames: Map[Environment, String]
  9. def disableProduction(): EnvironmentAlertBuilder
  10. val enabledEnvironments: Map[Environment, Set[Severity]]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. val handlerFilters: Map[Environment, JsValue]
  14. val handlerName: String
  15. def inDevelopment(severities: Set[Severity] = defaultSeverities, customEnv: String = Environment.Development.toString, customFilter: JsValue = defaultFilter): EnvironmentAlertBuilder
  16. def inExternalTest(severities: Set[Severity] = defaultSeverities, customEnv: String = Environment.ExternalTest.toString, customFilter: JsValue = defaultFilter): EnvironmentAlertBuilder
  17. def inIntegration(severities: Set[Severity] = defaultSeverities, customEnv: String = Environment.Integration.toString, customFilter: JsValue = defaultFilter): EnvironmentAlertBuilder
  18. def inManagement(severities: Set[Severity] = defaultSeverities, customEnv: String = Environment.Management.toString, customFilter: JsValue = defaultMgmtFilter): EnvironmentAlertBuilder
  19. def inProduction(severities: Set[Severity] = defaultSeverities, customEnv: String = Environment.Production.toString, customFilter: JsValue = defaultFilter): EnvironmentAlertBuilder
  20. def inQa(severities: Set[Severity] = defaultSeverities, customEnv: String = Environment.Qa.toString, customFilter: JsValue = defaultFilter): EnvironmentAlertBuilder
  21. def inStaging(severities: Set[Severity] = defaultSeverities, customEnv: String = Environment.Staging.toString, customFilter: JsValue = defaultFilter): EnvironmentAlertBuilder
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. def withCommand(customCommand: String): EnvironmentAlertBuilder

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 Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped