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