Interface SessionDsl

    • Method Detail

      • session

        DslBuilder session​(java.lang.String sessionKey,
                           java.util.function.Supplier<java.lang.Object> objectSupplier)
        Session DSL is used to save objects to the current define which are provided by the object supplier.
        Parameters:
        sessionKey - Session key.
        objectSupplier - Object provider.
        Returns:
        Runnable DSL instance.
      • session

        DslBuilder session​(java.lang.String sessionKey,
                           java.lang.Object object)
        Session DSL is used to save objects to the current define.
        Parameters:
        object - Object instance to store in the define.
        Returns:
        DslBuilder instance.