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