All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.swarm.config.elytron.ConstantRoleMapperConsumer Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
package org.wildfly.swarm.config.elytron;

import org.wildfly.swarm.config.elytron.ConstantRoleMapper;
import java.lang.FunctionalInterface;

@FunctionalInterface
public interface ConstantRoleMapperConsumer> {

	/**
	 * Configure a pre-constructed instance of ConstantRoleMapper resource
	 * 
	 * @parameter Instance of ConstantRoleMapper to configure
	 * @return nothing
	 */
	void accept(T value);

	default ConstantRoleMapperConsumer andThen(
			ConstantRoleMapperConsumer after) {
		return (c) -> {
			this.accept(c);
			after.accept(c);
		};
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy