Package org.bedework.synch.shared.conf
Class ConnectorConfig
java.lang.Object
org.bedework.util.config.ConfigBase<ConnectorConfig>
org.bedework.synch.shared.conf.ConnectorConfig
- All Implemented Interfaces:
Serializable,Comparable<ConnectorConfig>,ConnectorConfigI,org.bedework.util.logging.Logged
public class ConnectorConfig
extends org.bedework.util.config.ConfigBase<ConnectorConfig>
implements ConnectorConfigI
Common connector config properties
- Author:
- douglm
- See Also:
-
Field Summary
Fields inherited from class org.bedework.util.config.ConfigBase
ns -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass nameClass namebooleanRead only?booleanCan we trust the lastmod from this connector?inthashCode()voidConnector class namevoidsetMbeanClassName(String val) Mbean class namevoidsetReadOnly(boolean val) Read only?voidsetTrustLastmod(boolean val) Can we trust the lastmod from this connector?toString()voidtoStringSegment(org.bedework.util.misc.ToString ts) Methods inherited from class org.bedework.util.config.ConfigBase
addListProperty, compareTo, fromXml, fromXml, fromXml, getLastChanged, getLogger, getName, getProperty, markChanged, removeProperty, setListProperty, setName, toProperties, toXmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
-
Constructor Details
-
ConnectorConfig
public ConnectorConfig()
-
-
Method Details
-
setConnectorClassName
Description copied from interface:ConnectorConfigIConnector class name- Specified by:
setConnectorClassNamein interfaceConnectorConfigI- Parameters:
val- String
-
getConnectorClassName
Description copied from interface:ConnectorConfigIClass name- Specified by:
getConnectorClassNamein interfaceConnectorConfigI- Returns:
- String
-
setMbeanClassName
Description copied from interface:ConnectorConfigIMbean class name- Specified by:
setMbeanClassNamein interfaceConnectorConfigI- Parameters:
val- String
-
getMbeanClassName
Description copied from interface:ConnectorConfigIClass name- Specified by:
getMbeanClassNamein interfaceConnectorConfigI- Returns:
- String
-
setReadOnly
public void setReadOnly(boolean val) Description copied from interface:ConnectorConfigIRead only?- Specified by:
setReadOnlyin interfaceConnectorConfigI- Parameters:
val- int seconds
-
getReadOnly
public boolean getReadOnly()Description copied from interface:ConnectorConfigIRead only?- Specified by:
getReadOnlyin interfaceConnectorConfigI- Returns:
- int seconds
-
setTrustLastmod
public void setTrustLastmod(boolean val) Description copied from interface:ConnectorConfigICan we trust the lastmod from this connector?- Specified by:
setTrustLastmodin interfaceConnectorConfigI- Parameters:
val- boolean
-
getTrustLastmod
public boolean getTrustLastmod()Description copied from interface:ConnectorConfigICan we trust the lastmod from this connector?- Specified by:
getTrustLastmodin interfaceConnectorConfigI- Returns:
- boolean
-
toStringSegment
public void toStringSegment(org.bedework.util.misc.ToString ts) - Overrides:
toStringSegmentin classorg.bedework.util.config.ConfigBase<ConnectorConfig>
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.bedework.util.config.ConfigBase<ConnectorConfig>
-
toString
- Overrides:
toStringin classorg.bedework.util.config.ConfigBase<ConnectorConfig>
-