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