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