Class EgnyteFetcherConfig
java.lang.Object
com.norconex.crawler.core.fetch.BaseFetcherConfig
com.norconex.crawler.fs.fetch.impl.egnyte.EgnyteFetcherConfig
Configuration for
EgnyteFetcher.-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanOAuth access token used for Egnyte API requests, kept as is in the configuration.Egnyte API base URL.Credentials for the Egnyte API, an alternative to the plain textaccess token: their password is the token (the username is not used), and it can be encrypted.inthashCode()setAccessToken(String accessToken) OAuth access token used for Egnyte API requests, kept as is in the configuration.setApiBaseUrl(String apiBaseUrl) Egnyte API base URL.setNotFoundStatusCodes(List<Integer> notFoundStatusCodes) setValidStatusCodes(List<Integer> validStatusCodes) toString()Methods inherited from class com.norconex.crawler.core.fetch.BaseFetcherConfig
getReferenceFilters, setReferenceFilters
-
Field Details
-
DEFAULT_VALID_STATUS_CODES
-
DEFAULT_NOT_FOUND_STATUS_CODES
-
-
Constructor Details
-
EgnyteFetcherConfig
public EgnyteFetcherConfig()
-
-
Method Details
-
getValidStatusCodes
-
setValidStatusCodes
-
getNotFoundStatusCodes
-
setNotFoundStatusCodes
-
getAccessToken
OAuth access token used for Egnyte API requests, kept as is in the configuration. To keep it secret (encrypted, or supplied as a variable), leave this empty and give it as the password of thecredentials. -
getApiBaseUrl
Egnyte API base URL. Supports {domain} placeholder. -
getCredentials
Credentials for the Egnyte API, an alternative to the plain textaccess token: their password is the token (the username is not used), and it can be encrypted. -
setAccessToken
OAuth access token used for Egnyte API requests, kept as is in the configuration. To keep it secret (encrypted, or supplied as a variable), leave this empty and give it as the password of thecredentials.- Returns:
this.
-
setApiBaseUrl
Egnyte API base URL. Supports {domain} placeholder.- Returns:
this.
-
equals
- Overrides:
equalsin classBaseFetcherConfig
-
canEqual
- Overrides:
canEqualin classBaseFetcherConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseFetcherConfig
-
toString
- Overrides:
toStringin classBaseFetcherConfig
-