org.wildfly.swarm.config.management.HTTPInterfaceManagementInterfaceConsumer Maven / Gradle / Ivy
The newest version!
package org.wildfly.swarm.config.management;
import org.wildfly.swarm.config.management.HTTPInterfaceManagementInterface;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface HTTPInterfaceManagementInterfaceConsumer> {
/**
* Configure a pre-constructed instance of HTTPInterfaceManagementInterface
* resource
*
* @parameter Instance of HTTPInterfaceManagementInterface to configure
* @return nothing
*/
void accept(T value);
default HTTPInterfaceManagementInterfaceConsumer andThen(
HTTPInterfaceManagementInterfaceConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}