org.wildfly.swarm.config.elytron.ConstantPrincipalTransformerConsumer Maven / Gradle / Ivy
The newest version!
package org.wildfly.swarm.config.elytron;
import org.wildfly.swarm.config.elytron.ConstantPrincipalTransformer;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface ConstantPrincipalTransformerConsumer> {
/**
* Configure a pre-constructed instance of ConstantPrincipalTransformer
* resource
*
* @parameter Instance of ConstantPrincipalTransformer to configure
* @return nothing
*/
void accept(T value);
default ConstantPrincipalTransformerConsumer andThen(
ConstantPrincipalTransformerConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}