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