uk
.
gov
.
hmrc
.
alertconfig
.
builders
EnvironmentAlertBuilder
Related Doc:
package builders
case class
EnvironmentAlertBuilder
(
handlerName:
String
,
command:
Option
[
JsValue
] =
None
,
enabledEnvironments:
Map
[
Environment
,
Set
[
Severity
]] =
...
,
customEnvironmentNames:
Map
[
Environment
,
String
] =
Map((Production, "aws_production"))
,
handlerFilters:
Map
[
Environment
,
JsValue
] =
...
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
EnvironmentAlertBuilder
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
EnvironmentAlertBuilder
(
handlerName:
String
,
command:
Option
[
JsValue
] =
None
,
enabledEnvironments:
Map
[
Environment
,
Set
[
Severity
]] =
...
,
customEnvironmentNames:
Map
[
Environment
,
String
] =
Map((Production, "aws_production"))
,
handlerFilters:
Map
[
Environment
,
JsValue
] =
...
)
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
def
alertConfigFor
(
environment:
Environment
)
: (
String
,
JsObject
)
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
@throws
(
...
)
val
command
:
Option
[
JsValue
]
val
customEnvironmentNames
:
Map
[
Environment
,
String
]
def
disableProduction
()
:
EnvironmentAlertBuilder
val
enabledEnvironments
:
Map
[
Environment
,
Set
[
Severity
]]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
Annotations
@HotSpotIntrinsicCandidate
()
val
handlerFilters
:
Map
[
Environment
,
JsValue
]
val
handlerName
:
String
def
inDevelopment
(
severities:
Set
[
Severity
] =
defaultSeverities
,
customEnv:
String
=
Development.toString
,
customFilter:
JsValue
=
defaultFilter
)
:
EnvironmentAlertBuilder
def
inExternalTest
(
severities:
Set
[
Severity
] =
defaultSeverities
,
customEnv:
String
=
ExternalTest.toString
,
customFilter:
JsValue
=
defaultFilter
)
:
EnvironmentAlertBuilder
def
inIntegration
(
severities:
Set
[
Severity
] =
defaultSeverities
,
customEnv:
String
=
Integration.toString
,
customFilter:
JsValue
=
defaultFilter
)
:
EnvironmentAlertBuilder
def
inManagement
(
severities:
Set
[
Severity
] =
defaultSeverities
,
customEnv:
String
=
Management.toString
,
customFilter:
JsValue
=
defaultMgmtFilter
)
:
EnvironmentAlertBuilder
def
inProduction
(
severities:
Set
[
Severity
] =
defaultSeverities
,
customEnv:
String
=
Production.toString
,
customFilter:
JsValue
=
defaultFilter
)
:
EnvironmentAlertBuilder
def
inQa
(
severities:
Set
[
Severity
] =
defaultSeverities
,
customEnv:
String
=
Qa.toString
,
customFilter:
JsValue
=
defaultFilter
)
:
EnvironmentAlertBuilder
def
inStaging
(
severities:
Set
[
Severity
] =
defaultSeverities
,
customEnv:
String
=
Staging.toString
,
customFilter:
JsValue
=
defaultFilter
)
:
EnvironmentAlertBuilder
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
Annotations
@HotSpotIntrinsicCandidate
()
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withCommand
(
customCommand:
String
)
:
EnvironmentAlertBuilder
Deprecated Value Members
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@Deprecated
@deprecated
@throws
(
classOf[java.lang.Throwable]
)
Deprecated
(Since version )
see corresponding Javadoc for more information.
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped