org.wildfly.swarm.config.messaging.activemq.server.AddressSettingConsumer Maven / Gradle / Ivy
package org.wildfly.swarm.config.messaging.activemq.server;
import org.wildfly.swarm.config.messaging.activemq.server.AddressSetting;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface AddressSettingConsumer> {
/**
* Configure a pre-constructed instance of AddressSetting resource
*
* @parameter Instance of AddressSetting to configure
* @return nothing
*/
void accept(T value);
default AddressSettingConsumer andThen(AddressSettingConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}