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