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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectorConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConnectorClassName()Class nameStringgetMbeanClassName()Class namebooleangetReadOnly()Read only?booleangetTrustLastmod()Can we trust the lastmod from this connector?inthashCode()voidsetConnectorClassName(String val)Connector class namevoidsetMbeanClassName(String val)Mbean class namevoidsetReadOnly(boolean val)Read only?voidsetTrustLastmod(boolean val)Can we trust the lastmod from this connector?StringtoString()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, 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, trace, trace, warn
-
-
-
-
Method Detail
-
setConnectorClassName
public void setConnectorClassName(String val)
Description copied from interface:ConnectorConfigIConnector class name- Specified by:
setConnectorClassNamein interfaceConnectorConfigI- Parameters:
val- String
-
getConnectorClassName
public String getConnectorClassName()
Description copied from interface:ConnectorConfigIClass name- Specified by:
getConnectorClassNamein interfaceConnectorConfigI- Returns:
- String
-
setMbeanClassName
public void setMbeanClassName(String val)
Description copied from interface:ConnectorConfigIMbean class name- Specified by:
setMbeanClassNamein interfaceConnectorConfigI- Parameters:
val- String
-
getMbeanClassName
public 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
public String toString()
- Overrides:
toStringin classorg.bedework.util.config.ConfigBase<ConnectorConfig>
-
-