Package io.ryos.rhino.sdk.dsl.impl
Class SessionDslImpl
- java.lang.Object
-
- io.ryos.rhino.sdk.dsl.impl.AbstractDSLItem
-
- io.ryos.rhino.sdk.dsl.impl.AbstractMeasurableDsl
-
- io.ryos.rhino.sdk.dsl.impl.AbstractSessionDslItem
-
- io.ryos.rhino.sdk.dsl.impl.SessionDslImpl
-
- All Implemented Interfaces:
DslItem
,MaterializableDsl
,MaterializableDslItem
,MeasurableDsl
,SessionDslItem
public class SessionDslImpl extends AbstractSessionDslItem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.ryos.rhino.sdk.dsl.SessionDslItem
SessionDslItem.Scope
-
-
Constructor Summary
Constructors Constructor Description SessionDslImpl(java.lang.String sessionKey, java.util.function.Supplier<java.lang.Object> objectSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<MaterializableDslItem>
getChildren()
java.util.function.Supplier<java.lang.Object>
getObjectFunction()
java.lang.String
getSessionKey()
DslMaterializer
materializer()
Create materializer instance for this spec instance.-
Methods inherited from class io.ryos.rhino.sdk.dsl.impl.AbstractSessionDslItem
getSessionScope, setSessionKey, setSessionScope
-
Methods inherited from class io.ryos.rhino.sdk.dsl.impl.AbstractMeasurableDsl
cumulative, getMeasurementPoint, isCumulative, isMeasurementEnabled, noMeasurement
-
Methods inherited from class io.ryos.rhino.sdk.dsl.impl.AbstractDSLItem
getName, getParent, getParentName, hasParent, setName, setParent
-
-
-
-
Method Detail
-
getSessionKey
public java.lang.String getSessionKey()
- Specified by:
getSessionKey
in interfaceSessionDslItem
- Overrides:
getSessionKey
in classAbstractSessionDslItem
-
getObjectFunction
public java.util.function.Supplier<java.lang.Object> getObjectFunction()
- Specified by:
getObjectFunction
in interfaceSessionDslItem
- Overrides:
getObjectFunction
in classAbstractSessionDslItem
-
materializer
public DslMaterializer materializer()
Description copied from interface:MaterializableDsl
Create materializer instance for this spec instance.- Returns:
DslMaterializer
instance.
-
getChildren
public java.util.List<MaterializableDslItem> getChildren()
-
-