Class M365GraphFetcherConfig
java.lang.Object
com.norconex.crawler.core.fetch.BaseFetcherConfig
com.norconex.crawler.fs.fetch.impl.m365graph.M365GraphFetcherConfig
Configuration for
M365GraphFetcher.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAuthentication authority host.Azure AD application (client) ID.Azure AD client secret.Microsoft Graph v1 endpoint root.Base delay for native retries when Retry-After is not provided.intMaximum native retries for status codes listed innativeRetryStatusCodes.How SOURCE_DELTA start references are expanded into Graph delta roots.Tenant ID used to acquire an access token.inthashCode()booleanWhether to apply M365-native retry for throttling/transient statuses.setAuthorityHost(String authorityHost) Authentication authority host.setClientId(String clientId) Azure AD application (client) ID.setClientSecret(String clientSecret) Azure AD client secret.setGraphBaseUrl(String graphBaseUrl) Microsoft Graph v1 endpoint root.setNativeRetryBaseDelay(Duration nativeRetryBaseDelay) Base delay for native retries when Retry-After is not provided.setNativeRetryEnabled(boolean nativeRetryEnabled) Whether to apply M365-native retry for throttling/transient statuses.setNativeRetryMaxRetries(int nativeRetryMaxRetries) Maximum native retries for status codes listed innativeRetryStatusCodes.setNativeRetryStatusCodes(List<Integer> nativeRetryStatusCodes) setNotFoundStatusCodes(List<Integer> notFoundStatusCodes) setSourceDeltaExpansion(M365GraphFetcherConfig.SourceDeltaExpansion sourceDeltaExpansion) How SOURCE_DELTA start references are expanded into Graph delta roots.setTenantId(String tenantId) Tenant ID used to acquire an access token.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
-
DEFAULT_NATIVE_RETRY_STATUS_CODES
-
DEFAULT_NATIVE_RETRY_BASE_DELAY
-
-
Constructor Details
-
M365GraphFetcherConfig
public M365GraphFetcherConfig()
-
-
Method Details
-
getValidStatusCodes
-
setValidStatusCodes
-
getNotFoundStatusCodes
-
setNotFoundStatusCodes
-
getNativeRetryStatusCodes
-
setNativeRetryStatusCodes
-
getTenantId
Tenant ID used to acquire an access token. -
getClientId
Azure AD application (client) ID. -
getClientSecret
Azure AD client secret. -
getAuthorityHost
Authentication authority host. -
getGraphBaseUrl
Microsoft Graph v1 endpoint root. -
getSourceDeltaExpansion
How SOURCE_DELTA start references are expanded into Graph delta roots. -
isNativeRetryEnabled
public boolean isNativeRetryEnabled()Whether to apply M365-native retry for throttling/transient statuses. Disable to rely strictly on framework-level fetch retries. -
getNativeRetryMaxRetries
public int getNativeRetryMaxRetries()Maximum native retries for status codes listed innativeRetryStatusCodes. -
getNativeRetryBaseDelay
Base delay for native retries when Retry-After is not provided. -
setTenantId
Tenant ID used to acquire an access token.- Returns:
this.
-
setClientId
Azure AD application (client) ID.- Returns:
this.
-
setClientSecret
Azure AD client secret.- Returns:
this.
-
setAuthorityHost
Authentication authority host.- Returns:
this.
-
setGraphBaseUrl
Microsoft Graph v1 endpoint root.- Returns:
this.
-
setSourceDeltaExpansion
public M365GraphFetcherConfig setSourceDeltaExpansion(M365GraphFetcherConfig.SourceDeltaExpansion sourceDeltaExpansion) How SOURCE_DELTA start references are expanded into Graph delta roots.- Returns:
this.
-
setNativeRetryEnabled
Whether to apply M365-native retry for throttling/transient statuses. Disable to rely strictly on framework-level fetch retries.- Returns:
this.
-
setNativeRetryMaxRetries
Maximum native retries for status codes listed innativeRetryStatusCodes.- Returns:
this.
-
setNativeRetryBaseDelay
Base delay for native retries when Retry-After is not provided.- Returns:
this.
-
equals
- Overrides:
equalsin classBaseFetcherConfig
-
canEqual
- Overrides:
canEqualin classBaseFetcherConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseFetcherConfig
-
toString
- Overrides:
toStringin classBaseFetcherConfig
-