Interface PrincipalTransformer
-
-
Method Summary
Static Methods Modifier and Type Method Description static PrincipalTransformer
aggregate(PrincipalTransformer... transformers)
Principal transformer which transforms principal by individual transformers in defined order and returns first non-null transformed principal.static PrincipalTransformer
chain(PrincipalTransformer... transformers)
Principal transformer which transforms original principal by first transformer in chain, its output transforms by second transformer etc.static PrincipalTransformer
from(Function<Principal,Principal> function)
-
-
-
Method Detail
-
from
static PrincipalTransformer from(Function<Principal,Principal> function)
-
aggregate
static PrincipalTransformer aggregate(PrincipalTransformer... transformers)
Principal transformer which transforms principal by individual transformers in defined order and returns first non-null transformed principal. Input of all transformers is original principal.
-
chain
static PrincipalTransformer chain(PrincipalTransformer... transformers)
Principal transformer which transforms original principal by first transformer in chain, its output transforms by second transformer etc. Output of last transformer is returned.
-
-