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

org.webpieces.plugins.hsqldb.H2DbConfig Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package org.webpieces.plugins.hsqldb;

import java.util.function.Function;

public class H2DbConfig {

	private int port = 0;
	private String pluginPath = "/@db";
	private Function convertDomain = null;

	public H2DbConfig() {
	}
	
	public H2DbConfig(int port, String urlPath) {
		super();
		this.port = port;
		this.pluginPath = urlPath;
	}

	public int getPort() {
		return port;
	}

	public String getPluginPath() {
		return pluginPath;
	}

	/**
	 * For twitter internal use with serviceproxy.  If set, instead of using the port, to hit,
	 * we use the domain name change.. 
	 */
	public Function getConvertDomain() {
		return convertDomain;
	}

	public void setConvertDomain(Function convertDomain) {
		this.convertDomain = convertDomain;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy