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