
prompto.config.IDebugEventAdapterConfiguration Maven / Gradle / Ivy
package prompto.config;
import java.util.function.Supplier;
public interface IDebugEventAdapterConfiguration {
String getFactory();
IDebugEventAdapterConfiguration withFactory(String factory);
public static class Inline implements IDebugEventAdapterConfiguration {
Supplier factory = () -> null;
@Override
public String getFactory() {
return factory.get();
}
@Override
public IDebugEventAdapterConfiguration withFactory(String factory) {
this.factory = () -> factory;
return this;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy