Package io.ryos.rhino.sdk.dsl
Interface SomeDsl
-
- All Superinterfaces:
DslItem
,MaterializableDsl
,MaterializableDslItem
- All Known Implementing Classes:
SomeDslImpl
public interface SomeDsl extends MaterializableDslItem
Some spec is a custom spec to enable developers to add arbitrary code snippets into the DSL.- Since:
- 1.1.0
- Author:
- Erhan Bagdemir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MaterializableDslItem
exec(java.util.function.Function<UserSession,java.lang.String> function)
Method to add a spec function into the DSL.java.util.function.Function<UserSession,java.lang.String>
getFunction()
Function contains the code snippet to be applied.-
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
-
getFunction
java.util.function.Function<UserSession,java.lang.String> getFunction()
Function contains the code snippet to be applied.- Returns:
- MaterializableDslItem function.
-
exec
MaterializableDslItem exec(java.util.function.Function<UserSession,java.lang.String> function)
Method to add a spec function into the DSL.
-
-