public class GenericContainerMultiThreadedConnectorConfig extends GenericMultiThreadedConnectorConfig implements com.exalead.mercury.component.config.CVComponentConfigSamplify
GenericMultiThreadedConnectorConfig.DocumentErrorBehavior
DEFAULT_MAX_DOC_QUEUED, DEFAULT_MAX_FOLDER_QUEUED, DEFAULT_MAX_PIPELINE_DOCUMENT_THREAD, DEFAULT_MAX_PIPELINE_FOLDER_THREAD, deleteDocumentOnError, maxDocQueued, maxFolderQueued, maxProcessingSize, nbPipelineDocumentThread, nbPipelineFolderThread, neverSendDelete, pushFolder, rootPaths
customPushAPIFilters, thresholds
Constructor and Description |
---|
GenericContainerMultiThreadedConnectorConfig() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfig(boolean useNow)
Check the current configuration.
|
java.lang.String |
getContainerConvertAddress() |
java.lang.String |
getContainerMimeFilter() |
com.exalead.config.bean.MillisecondsValue |
getContainerTimeoutFetchMs() |
long |
getContainerTimeoutFetchMsLong() |
com.exalead.config.bean.MillisecondsValue |
getContainerTimeoutMs() |
long |
getContainerTimeoutMsLong() |
java.lang.String |
getCPathStopFilter() |
boolean |
getEnableContainers() |
boolean |
getIndexNames() |
java.lang.String |
getItemExtensions() |
java.lang.String |
getItemMimeFilter() |
ContainerMainPartConfig[] |
getMainPartParentMimeFilter() |
int |
getMaxContainerDepth() |
int |
getMaxContainerDocumentsPerLevel() |
int |
getMaxContainerDocumentsTotal() |
com.exalead.config.bean.BytesValue |
getMaxContainerFetchSize() |
long |
getMaxContainerFetchSizeLong() |
com.exalead.config.bean.BytesValue |
getMaxInputSize() |
long |
getMaxInputSizeLong() |
static java.lang.String[] |
getMethods()
Optional method listing all methods, ordered (GUI)
|
void |
samplify() |
void |
setContainerConvertAddress(java.lang.String convertAddress) |
void |
setContainerMimeFilter(java.lang.String containerMimeFilter) |
void |
setContainerTimeoutFetchMs(com.exalead.config.bean.MillisecondsValue containerTimeoutFetchMs) |
void |
setContainerTimeoutMs(com.exalead.config.bean.MillisecondsValue containerTimeoutMs) |
void |
setCPathStopFilter(java.lang.String cPathStopFilter) |
void |
setEnableContainers(com.exalead.config.bean.BooleanChecked enableContainers)
If containers support is enabled with the following feature, files
recognized as containers and allowed (see other filtering options) will
have their content indexed as separate files.
|
void |
setIndexNames(com.exalead.config.bean.BooleanChecked indexNames) |
void |
setIndexNames(java.lang.String indexNames) |
void |
setItemExtensions(java.lang.String itemExtensions) |
void |
setItemMimeFilter(java.lang.String itemMimeFilter) |
void |
setMainPartParentMimeFilter(ContainerMainPartConfig[] mainPart) |
void |
setMaxContainerDepth(int maxContainerDepth) |
void |
setMaxContainerDocumentsPerLevel(int maxContainerDocumentsPerLevel) |
void |
setMaxContainerDocumentsTotal(int maxContainerDocumentsTotal) |
void |
setMaxContainerFetchSize(com.exalead.config.bean.BytesValue maxContainerFetchSize) |
void |
setMaxInputSize(com.exalead.config.bean.BytesValue maxInputSize) |
void |
setMaxInputSize(java.lang.String maxInputSize) |
getDeleteDocumentOnError, getMaxDocQueued, getMaxFolderQueued, getMaxProcessingSize, getNbPipelineDocumentThread, getNbPipelineFolderThread, getNeverSendDelete, getPushFolder, getRootPaths, setDeleteDocumentOnError, setMaxDocQueued, setMaxDocQueued, setMaxFolderQueued, setMaxFolderQueued, setMaxProcessingSize, setMaxProcessingSize, setNbPipelineDocumentThread, setNbPipelineDocumentThread, setNbPipelineFolderThread, setNbPipelineFolderThread, setNeverSendDelete, setPushFolder, setPushFolder, setRootPaths
getPushAPIFilters, setPushAPIFilters
getPropertiesDefinition, setProperty
public final int DEFAULT_MAX_CONTAINER_DEPTH
public final int DEFAULT_MAX_CONTAINER_DOCUMENTS_PER_LEVEL
public final int DEFAULT_MAX_CONTAINER_DOCUMENTS_TOTAL
public final java.lang.String DEFAULT_CONTAINER_MIME_FILTER
public final java.lang.String DEFAULT_CONTAINER_ITEM_MIME_FILTER
public final java.lang.String DEFAULT_ITEM_EXTENSIONS
public final boolean DEFAULT_HANDLE_CONTAINERS
public final boolean DEFAULT_INDEX_NAMES
public final com.exalead.config.bean.BytesValue DEFAULT_MAX_INPUT_SIZE
public final com.exalead.config.bean.BytesValue DEFAULT_MAX_CONTAINER_FETCH_SIZE
public final java.lang.String DEFAULT_CPATH_STOP_MIME_FILTER
public final java.lang.String DEFAULT_MAIN_PART_PARENT_MIME_FILTER
public final java.lang.String DEFAULT_MAIN_PART_MIME_FILTER
public final java.lang.String DEFAULT_MAIN_PART_MIME_DEDUP_FILTER
public final java.lang.String DEFAULT_MAIN_PART_ITEM_IDENTIFIER_FILTER
public final int DEFAULT_MAIN_PART_MIME_DEDUP_MAX
public final boolean DEFAULT_MAIN_PART_ADD_LINKS
public static final com.exalead.config.bean.MillisecondsValue DEFAULT_CONTAINER_TIMEOUT_MS
public static final com.exalead.config.bean.MillisecondsValue DEFAULT_CONTAINER_TIMEOUT_FETCH_MS
protected boolean enableContainers
protected int maxContainerDepth
protected int maxContainerDocumentsPerLevel
protected int maxContainerDocumentsTotal
protected java.lang.String containerMimeFilter
protected java.lang.String itemMimeFilter
protected java.lang.String itemExtensions
protected boolean indexNames
protected com.exalead.config.bean.BytesValue maxInputSize
protected com.exalead.config.bean.BytesValue maxContainerFetchSize
protected java.lang.String cPathStopFilter
protected java.lang.String convertAddress
protected com.exalead.config.bean.MillisecondsValue containerTimeoutMs
protected com.exalead.config.bean.MillisecondsValue containerTimeoutFetchMs
protected ContainerMainPartConfig[] mainPart
public GenericContainerMultiThreadedConnectorConfig()
public void samplify()
samplify
in interface com.exalead.config.bean.BeanSample
samplify
in class GenericMultiThreadedConnectorConfig
public boolean getEnableContainers()
public void setEnableContainers(com.exalead.config.bean.BooleanChecked enableContainers)
public int getMaxContainerDepth()
public void setMaxContainerDepth(int maxContainerDepth)
public int getMaxContainerDocumentsPerLevel()
public void setMaxContainerDocumentsPerLevel(int maxContainerDocumentsPerLevel)
public int getMaxContainerDocumentsTotal()
public void setMaxContainerDocumentsTotal(int maxContainerDocumentsTotal)
public java.lang.String getCPathStopFilter()
public void setCPathStopFilter(java.lang.String cPathStopFilter)
public java.lang.String getContainerMimeFilter()
public void setContainerMimeFilter(java.lang.String containerMimeFilter)
public java.lang.String getItemMimeFilter()
public void setItemMimeFilter(java.lang.String itemMimeFilter)
public java.lang.String getItemExtensions()
public void setItemExtensions(java.lang.String itemExtensions)
public boolean getIndexNames()
public void setIndexNames(com.exalead.config.bean.BooleanChecked indexNames)
public void setIndexNames(java.lang.String indexNames)
public com.exalead.config.bean.BytesValue getMaxInputSize()
public long getMaxInputSizeLong()
public void setMaxInputSize(com.exalead.config.bean.BytesValue maxInputSize)
public com.exalead.config.bean.BytesValue getMaxContainerFetchSize()
public long getMaxContainerFetchSizeLong()
public void setMaxContainerFetchSize(com.exalead.config.bean.BytesValue maxContainerFetchSize)
public void setMaxInputSize(java.lang.String maxInputSize)
public java.lang.String getContainerConvertAddress()
public void setContainerConvertAddress(java.lang.String convertAddress)
public com.exalead.config.bean.MillisecondsValue getContainerTimeoutMs()
public long getContainerTimeoutMsLong()
public void setContainerTimeoutMs(com.exalead.config.bean.MillisecondsValue containerTimeoutMs)
public com.exalead.config.bean.MillisecondsValue getContainerTimeoutFetchMs()
public long getContainerTimeoutFetchMsLong()
public void setContainerTimeoutFetchMs(com.exalead.config.bean.MillisecondsValue containerTimeoutFetchMs)
public void setMainPartParentMimeFilter(ContainerMainPartConfig[] mainPart)
public ContainerMainPartConfig[] getMainPartParentMimeFilter()
public void checkConfig(boolean useNow) throws com.exalead.config.bean.ConfigurationException, java.lang.Exception
ConnectorConfigCheckInterface
checkConfig
in interface ConnectorConfigCheckInterface
checkConfig
in class ConnectorConfig
useNow
- if true, the configuration check should also include
checks related to the current state of the connector peers or
environment ; that is, typically checking that a remote server is
available, file path filled exist, etc. If useNow is false, the check
should not assume that potentially configured resources are available now
(remote servers(s) might be down, third-party configuration elements might
be missing etc.)com.exalead.config.bean.ConfigurationException
- (or derived exception) upon
configuration errorjava.lang.Exception
public static java.lang.String[] getMethods()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.