Package io.ryos.rhino.sdk.dsl
Interface SessionDsl
-
- All Superinterfaces:
DslItem
,MaterializableDsl
- All Known Subinterfaces:
LoadDsl
- All Known Implementing Classes:
LoadDslImpl
public interface SessionDsl extends DslItem
Session DSL is used to store object in the session.- Author:
- Erhan Bagdemir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoadDsl
session(java.lang.String sessionKey, java.lang.Object object)
Session DSL is used to save objects to the current session.LoadDsl
session(java.lang.String sessionKey, java.util.function.Supplier<java.lang.Object> objectSupplier)
Session DSL is used to save objects to the current session which are provided by the object supplier.-
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
-
session
LoadDsl session(java.lang.String sessionKey, java.util.function.Supplier<java.lang.Object> objectSupplier)
Session DSL is used to save objects to the current session which are provided by the object supplier.- Parameters:
sessionKey
- Session key.objectSupplier
- Object provider.- Returns:
- Runnable DSL instance.
-
-