Class CardDAVContextConfig
- java.lang.Object
-
- org.bedework.util.config.ConfigBase<CardDAVContextConfig>
-
- org.bedework.carddav.server.config.CardDAVContextConfig
-
- All Implemented Interfaces:
Serializable,Comparable<CardDAVContextConfig>,org.bedework.util.logging.Logged
public class CardDAVContextConfig extends org.bedework.util.config.ConfigBase<CardDAVContextConfig>
This class defines the various properties we need for a carddav server- Author:
- Mike Douglass
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CardDAVContextConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddressBookHandlerPrefix()Handler prefix for address booksbooleangetDirectoryBrowsingDisallowed()StringgetWebaddrPublicAddrbook()List<String>getWebaddrServiceProperties()StringgetWebaddrServicePropertiesList()StringgetWebaddrServiceURI()get the web address service uri - null for no web address servicevoidsetAddressBookHandlerPrefix(String val)Handler prefix for address booksvoidsetDirectoryBrowsingDisallowed(boolean val)voidsetWebaddrPublicAddrbook(String val)voidsetWebaddrServicePropertiesList(String val)Set the comma separated list of web addr book searchable propertiesvoidsetWebaddrServiceURI(String val)Set the web address service uri - null for no web address servicevoidtoStringSegment(org.bedework.util.misc.ToString ts)Add our stuff to the StringBuilder-
Methods inherited from class org.bedework.util.config.ConfigBase
addListProperty, compareTo, fromXml, fromXml, fromXml, getLastChanged, getLogger, getName, getProperty, hashCode, markChanged, removeProperty, setListProperty, setName, toProperties, toString, toXml
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, setLogLevel, trace, trace, warn
-
-
-
-
Method Detail
-
setDirectoryBrowsingDisallowed
public void setDirectoryBrowsingDisallowed(boolean val)
- Parameters:
val- true to disallow browsing
-
getDirectoryBrowsingDisallowed
public boolean getDirectoryBrowsingDisallowed()
- Returns:
- boolean
-
setAddressBookHandlerPrefix
public void setAddressBookHandlerPrefix(String val)
Handler prefix for address books- Parameters:
val- String
-
getAddressBookHandlerPrefix
public String getAddressBookHandlerPrefix()
Handler prefix for address books- Returns:
- String
-
setWebaddrServiceURI
public void setWebaddrServiceURI(String val)
Set the web address service uri - null for no web address service- Parameters:
val- String
-
getWebaddrServiceURI
public String getWebaddrServiceURI()
get the web address service uri - null for no web address service- Returns:
- String
-
setWebaddrServicePropertiesList
public void setWebaddrServicePropertiesList(String val)
Set the comma separated list of web addr book searchable properties- Parameters:
val- String
-
getWebaddrServicePropertiesList
public String getWebaddrServicePropertiesList()
- Returns:
- comma separated list of web addr book searchable properties
-
setWebaddrPublicAddrbook
public void setWebaddrPublicAddrbook(String val)
- Parameters:
val- String
-
getWebaddrPublicAddrbook
public String getWebaddrPublicAddrbook()
- Returns:
- String
-
toStringSegment
public void toStringSegment(org.bedework.util.misc.ToString ts)
Add our stuff to the StringBuilder- Overrides:
toStringSegmentin classorg.bedework.util.config.ConfigBase<CardDAVContextConfig>- Parameters:
ts- ToString for result
-
-