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