org.wildfly.swarm.config.elytron.CertificateAuthorityConsumer Maven / Gradle / Ivy
package org.wildfly.swarm.config.elytron;
import org.wildfly.swarm.config.elytron.CertificateAuthority;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface CertificateAuthorityConsumer> {
/**
* Configure a pre-constructed instance of CertificateAuthority resource
*
* @parameter Instance of CertificateAuthority to configure
* @return nothing
*/
void accept(T value);
default CertificateAuthorityConsumer andThen(
CertificateAuthorityConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy