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