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

prompto.config.IDebugEventAdapterConfiguration Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy