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