ArchUnitTS - v2.2.0
GitHub
NPM
Examples
Preparing search index...
CountThresholdBuilder
Class CountThresholdBuilder
Builder for class-level count metric thresholds
Implements
Checkable
Index
Constructors
constructor
Properties
metrics
Builder
metric
Methods
should
Be
Below
should
Be
Below
Or
Equal
should
Be
Above
should
Be
Above
Or
Equal
should
Be
check
Constructors
constructor
new
CountThresholdBuilder
(
metricsBuilder
:
MetricsBuilder
,
metric
:
CountMetric
,
)
:
CountThresholdBuilder
Parameters
metricsBuilder
:
MetricsBuilder
metric
:
CountMetric
Returns
CountThresholdBuilder
Properties
Readonly
metrics
Builder
metricsBuilder
:
MetricsBuilder
Readonly
metric
metric
:
CountMetric
Methods
should
Be
Below
shouldBeBelow
(
threshold
:
number
)
:
CountThresholdBuilder
Parameters
threshold
:
number
Returns
CountThresholdBuilder
should
Be
Below
Or
Equal
shouldBeBelowOrEqual
(
threshold
:
number
)
:
CountThresholdBuilder
Parameters
threshold
:
number
Returns
CountThresholdBuilder
should
Be
Above
shouldBeAbove
(
threshold
:
number
)
:
CountThresholdBuilder
Parameters
threshold
:
number
Returns
CountThresholdBuilder
should
Be
Above
Or
Equal
shouldBeAboveOrEqual
(
threshold
:
number
)
:
CountThresholdBuilder
Parameters
threshold
:
number
Returns
CountThresholdBuilder
should
Be
shouldBe
(
threshold
:
number
)
:
CountThresholdBuilder
Parameters
threshold
:
number
Returns
CountThresholdBuilder
check
check
(
options
?:
CheckOptions
)
:
Promise
<
Violation
[]
>
Parameters
Optional
options
:
CheckOptions
Returns
Promise
<
Violation
[]
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
metrics
Builder
metric
Methods
should
Be
Below
should
Be
Below
Or
Equal
should
Be
Above
should
Be
Above
Or
Equal
should
Be
check
GitHub
NPM
Examples
ArchUnitTS - v2.2.0
Loading...
Builder for class-level count metric thresholds