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

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

@FunctionalInterface
public interface KeyStoreConsumer> {

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy