Package io.ryos.rhino.sdk.dsl
Interface MeasurableDsl
-
- All Superinterfaces:
DslItem
,MaterializableDsl
,MaterializableDslItem
- All Known Subinterfaces:
HttpDsl
- All Known Implementing Classes:
AbstractMeasurableDsl
,AbstractSessionDslItem
,ConditionalDslWrapper
,EnsureDslImpl
,FilterDslImpl
,ForEachDslImpl
,HttpDslImpl
,MapperDslImpl
,RunUntilDslImpl
,SessionDslImpl
,SomeDslImpl
,WaitDslImpl
public interface MeasurableDsl extends MaterializableDslItem
Retriable spec is the DSL spec which is to be retried if predicate turns true.- Since:
- 1.1.0
- Author:
- Erhan Bagdemir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MaterializableDslItem
cumulative()
Cumulative measurement.java.lang.String
getMeasurementPoint()
The name of the spec.boolean
isCumulative()
Whether the measurement is cumulative.boolean
isMeasurementEnabled()
Whether the measurement is enabled.MaterializableDslItem
noMeasurement()
Disables the measurement recording.-
Methods inherited from interface io.ryos.rhino.sdk.dsl.DslItem
getChildren, getName, getParent, getParentName, hasParent, setName, setParent
-
Methods inherited from interface io.ryos.rhino.sdk.dsl.MaterializableDsl
materializer
-
-
-
-
Method Detail
-
isMeasurementEnabled
boolean isMeasurementEnabled()
Whether the measurement is enabled.- Returns:
- True if measurement is enabled.
-
isCumulative
boolean isCumulative()
Whether the measurement is cumulative.- Returns:
- True if cumulative measurement is enabled.
-
getMeasurementPoint
java.lang.String getMeasurementPoint()
The name of the spec. It is the step name in scenario counterpart.- Returns:
- The name of the spec.
-
noMeasurement
MaterializableDslItem noMeasurement()
Disables the measurement recording.- Returns:
HttpConfigDsl
instance.
-
cumulative
MaterializableDslItem cumulative()
Cumulative measurement.- Returns:
HttpConfigDsl
instance.
-
-