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