org.apache.directory.server.ldap.replication
Class SyncreplConfiguration

java.lang.Object
  extended by org.apache.directory.server.ldap.replication.SyncreplConfiguration

public class SyncreplConfiguration
extends java.lang.Object

A class for holding the syncrepl consumer's configuration.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
SyncreplConfiguration()
           
 
Method Summary
 java.lang.String getAttributes()
           
 java.lang.String getBaseDn()
           
 java.lang.String getBindDn()
           
 long getConsumerInterval()
           
 java.lang.String getCredentials()
           
 java.lang.String getFilter()
           
 int getPort()
           
 java.lang.String getProviderHost()
           
 int getReplicaId()
           
 int getSearchScope()
           
 long getSearchSizeLimit()
           
 int getSearchTimeout()
           
 boolean isRefreshPersist()
           
 void setAttributes(java.lang.String attributes)
           
 void setBaseDn(java.lang.String baseDn)
           
 void setBindDn(java.lang.String bindDn)
           
 void setConsumerInterval(long consumerInterval)
           
 void setCredentials(java.lang.String credentials)
           
 void setFilter(java.lang.String filter)
           
 void setPort(int port)
           
 void setProviderHost(java.lang.String providerHost)
           
 void setRefreshPersist(boolean refreshPersist)
           
 void setReplicaId(int replicaId)
           
 void setSearchScope(int searchScope)
           
 void setSearchSizeLimit(long searchSizeLimit)
           
 void setSearchTimeout(int searchTimeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncreplConfiguration

public SyncreplConfiguration()
Method Detail

getProviderHost

public java.lang.String getProviderHost()
Returns:
the providerHost

setProviderHost

public void setProviderHost(java.lang.String providerHost)
Parameters:
providerHost - the providerHost to set

getPort

public int getPort()
Returns:
the port

setPort

public void setPort(int port)
Parameters:
port - the port to set

getBindDn

public java.lang.String getBindDn()
Returns:
the bindDn

setBindDn

public void setBindDn(java.lang.String bindDn)
Parameters:
bindDn - the bindDn to set

getCredentials

public java.lang.String getCredentials()
Returns:
the credentials

setCredentials

public void setCredentials(java.lang.String credentials)
Parameters:
credentials - the credentials to set

isRefreshPersist

public boolean isRefreshPersist()
Returns:
the refreshPersist

setRefreshPersist

public void setRefreshPersist(boolean refreshPersist)
Parameters:
refreshPersist - the refreshPersist to set

getConsumerInterval

public long getConsumerInterval()
Returns:
the consumerInterval

setConsumerInterval

public void setConsumerInterval(long consumerInterval)
Parameters:
consumerInterval - the consumerInterval to set

getBaseDn

public java.lang.String getBaseDn()
Returns:
the baseDn

setBaseDn

public void setBaseDn(java.lang.String baseDn)
Parameters:
baseDn - the baseDn to set

getFilter

public java.lang.String getFilter()
Returns:
the filter

setFilter

public void setFilter(java.lang.String filter)
Parameters:
filter - the filter to set

getAttributes

public java.lang.String getAttributes()
Returns:
the attributes

setAttributes

public void setAttributes(java.lang.String attributes)
Parameters:
attributes - the attributes to set

getSearchSizeLimit

public long getSearchSizeLimit()
Returns:
the searchSizeLimit

setSearchSizeLimit

public void setSearchSizeLimit(long searchSizeLimit)
Parameters:
searchSizeLimit - the searchSizeLimit to set

getSearchTimeout

public int getSearchTimeout()
Returns:
the searchTimeout

setSearchTimeout

public void setSearchTimeout(int searchTimeout)
Parameters:
searchTimeout - the searchTimeout to set

getSearchScope

public int getSearchScope()
Returns:
the searchScope

setSearchScope

public void setSearchScope(int searchScope)
Parameters:
searchScope - the searchScope to set

getReplicaId

public int getReplicaId()
Returns:
the replicaId

setReplicaId

public void setReplicaId(int replicaId)
Parameters:
replicaId - the replicaId to set


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.