org.wildfly.swarm.config.security.ClassicVaultConsumer Maven / Gradle / Ivy
package org.wildfly.swarm.config.security;
import org.wildfly.swarm.config.security.ClassicVault;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface ClassicVaultConsumer> {
/**
* Configure a pre-constructed instance of ClassicVault resource
*
* @parameter Instance of ClassicVault to configure
* @return nothing
*/
void accept(T value);
default ClassicVaultConsumer andThen(ClassicVaultConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy