open class Match
A match for a value.
Author
Julien Viet
Match()
Default constructor Match(other: Match)
Copy constructor Match(json: JsonObject)
Create an instance from a JsonObject |
static val DEFAULT_TYPE: MatchType
The default value : |
open fun getAlias(): String |
|
open fun getDomain(): MetricsDomain |
|
open fun getLabel(): String |
|
open fun getType(): MatchType |
|
open fun getValue(): String |
|
open fun setAlias(alias: String): Match
Set an alias that would replace the label value when it matches. |
|
open fun setDomain(domain: MetricsDomain): Match
Set the label domain, restricting this rule to a single domain. |
|
open fun setLabel(label: String): Match
Set the label name. The match will apply to the values related to this key. |
|
open fun setType(type: MatchType): Match
Set the type of matching to apply. |
|
open fun setValue(value: String): Match
Set the matched value. |