Class CmisFetcherConfig
java.lang.Object
com.norconex.crawler.core.fetch.BaseFetcherConfig
com.norconex.crawler.fs.fetch.impl.BaseAuthNioFetcherConfig
com.norconex.crawler.fs.fetch.impl.cmis.CmisFetcherConfig
Configuration for CmisFetcher.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull AclFetchModegetAcl()Whether to read and write on each document who may read it, as its access control list (ACL): the object's ACL as the repository gives it, inherited entries included.The CMIS repository ID.The name of the field where the raw XML obtained from the CMIS REST API will be stored.inthashCode()setAcl(@NonNull AclFetchMode acl) Whether to read and write on each document who may read it, as its access control list (ACL): the object's ACL as the repository gives it, inherited entries included.setRepositoryId(String repositoryId) The CMIS repository ID.setXmlTargetField(String xmlTargetField) The name of the field where the raw XML obtained from the CMIS REST API will be stored.toString()Methods inherited from class com.norconex.crawler.fs.fetch.impl.BaseAuthNioFetcherConfig
getCredentials, getDomain, setDomainMethods inherited from class com.norconex.crawler.core.fetch.BaseFetcherConfig
getReferenceFilters, setReferenceFilters
-
Constructor Details
-
CmisFetcherConfig
public CmisFetcherConfig()
-
-
Method Details
-
getRepositoryId
The CMIS repository ID. Defaults to first one found. -
getXmlTargetField
The name of the field where the raw XML obtained from the CMIS REST API will be stored. Defaults tonull(does not store the raw XML in a field). -
getAcl
Whether to read and write on each document who may read it, as its access control list (ACL): the object's ACL as the repository gives it, inherited entries included.AclFetchMode.BASICandAclFetchMode.EXTENDEDread the same. Default isAclFetchMode.NONE. -
setRepositoryId
The CMIS repository ID. Defaults to first one found.- Returns:
this.
-
setXmlTargetField
The name of the field where the raw XML obtained from the CMIS REST API will be stored. Defaults tonull(does not store the raw XML in a field).- Returns:
this.
-
setAcl
Whether to read and write on each document who may read it, as its access control list (ACL): the object's ACL as the repository gives it, inherited entries included.AclFetchMode.BASICandAclFetchMode.EXTENDEDread the same. Default isAclFetchMode.NONE.- Returns:
this.
-
equals
- Overrides:
equalsin classBaseAuthNioFetcherConfig
-
canEqual
- Overrides:
canEqualin classBaseAuthNioFetcherConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseAuthNioFetcherConfig
-
toString
- Overrides:
toStringin classBaseAuthNioFetcherConfig
-