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

org.wildfly.swarm.config.elytron.SimplePermissionMapperConsumer 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.SimplePermissionMapper;
import java.lang.FunctionalInterface;

@FunctionalInterface
public interface SimplePermissionMapperConsumer> {

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy