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