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