org.wildfly.swarm.config.undertow.server.host.AccessLogSettingConsumer Maven / Gradle / Ivy
package org.wildfly.swarm.config.undertow.server.host;
import org.wildfly.swarm.config.undertow.server.host.AccessLogSetting;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface AccessLogSettingConsumer> {
/**
* Configure a pre-constructed instance of AccessLogSetting resource
*
* @parameter Instance of AccessLogSetting to configure
* @return nothing
*/
void accept(T value);
default AccessLogSettingConsumer andThen(
AccessLogSettingConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}