Class CouchDbProperties

java.lang.Object
org.lightcouch.CouchDbProperties

public class CouchDbProperties extends Object
Represents configuration properties for connecting to CouchDB.
Author:
Ahmed Yehia, Daan van Berkel
  • Constructor Details

    • CouchDbProperties

      public CouchDbProperties()
    • CouchDbProperties

      public CouchDbProperties(String dbName, boolean createDbIfNotExist, String protocol, String host, int port, String username, String password)
  • Method Details

    • getDbName

      public String getDbName()
    • isCreateDbIfNotExist

      public boolean isCreateDbIfNotExist()
    • getProtocol

      public String getProtocol()
    • getHost

      public String getHost()
    • getPath

      public String getPath()
    • getPort

      public int getPort()
    • getUsername

      public String getUsername()
    • getPassword

      public String getPassword()
    • getSocketTimeout

      public int getSocketTimeout()
    • getConnectionTimeout

      public int getConnectionTimeout()
    • getMaxConnections

      public int getMaxConnections()
    • getProxyHost

      public String getProxyHost()
    • getProxyPort

      public int getProxyPort()
    • setDbName

      public CouchDbProperties setDbName(String dbName)
    • setCreateDbIfNotExist

      public CouchDbProperties setCreateDbIfNotExist(boolean createDbIfNotExist)
    • setProtocol

      public CouchDbProperties setProtocol(String protocol)
    • setHost

      public CouchDbProperties setHost(String host)
    • setPath

      public CouchDbProperties setPath(String path)
    • setPort

      public CouchDbProperties setPort(int port)
    • setUsername

      public CouchDbProperties setUsername(String username)
    • setPassword

      public CouchDbProperties setPassword(String password)
    • setSocketTimeout

      public CouchDbProperties setSocketTimeout(int socketTimeout)
    • setConnectionTimeout

      public CouchDbProperties setConnectionTimeout(int connectionTimeout)
    • setMaxConnections

      public CouchDbProperties setMaxConnections(int maxConnections)
    • setProxyHost

      public CouchDbProperties setProxyHost(String proxyHost)
    • setProxyPort

      public CouchDbProperties setProxyPort(int proxyPort)
    • clearPassword

      public void clearPassword()