Package org.keycloak.models
Interface KeycloakSessionTaskWithResult<V>
-
- Type Parameters:
V
- the type of the computed result.
- All Known Implementing Classes:
ResponseSessionTask
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface KeycloakSessionTaskWithResult<V>
Interface for tasks that compute a result and need access to theKeycloakSession
.- Author:
- Stefan Guilhen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
run(KeycloakSession session)
Computes a result.
-
-
-
Method Detail
-
run
V run(KeycloakSession session)
Computes a result.- Parameters:
session
- a reference to theKeycloakSession
.- Returns:
- the computed result.
-
-