IAppSettings
Represents an abstract object that provides thread-safe general import/export application settings.
using Relativity.DataExchange.Io;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace Relativity.DataExchange
{
public interface IAppSettings
{
string ApplicationName { get; set; }
string AuditLevel { get; set; }
int BatchInProgressNumberOfRetries { get; set; }
int BatchInProgressWaitTimeInSeconds { get; set; }
bool CreateErrorForEmptyNativeFile { get; set; }
bool CreateErrorForEmptyPdfFile { get; set; }
bool CreateErrorForInvalidDate { get; set; }
bool CreateFoldersInWebApi { get; set; }
int DefaultMaxErrorCount { get; set; }
bool DisableImageLocationValidation { get; set; }
bool DisableImageTypeValidation { get; set; }
bool DisableOutsideInFileIdentification { get; set; }
bool DisableTextFileEncodingCheck { get; set; }
bool DisableThrowOnIllegalCharacters { get; set; }
bool DynamicBatchResizingOn { get; set; }
bool EnableCaseSensitiveSearchOnImport { get; set; }
bool EnforceMinRetryCount { get; set; }
bool EnforceMinWaitTime { get; set; }
int ExportBatchSize { get; set; }
int ExportErrorNumberOfRetries { get; set; }
int ExportErrorWaitTimeInSeconds { get; set; }
[SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "long", Justification = "This is an appropriate name for this setting and unrelated to the long data type.")]
int ExportLongTextBufferSizeBytes { get; set; }
[SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "long", Justification = "This is an appropriate name for this setting and unrelated to the long data type.")]
int ExportLongTextLargeFileProgressRateSeconds { get; set; }
[SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "long", Justification = "This is an appropriate name for this setting and unrelated to the long data type.")]
bool ExportLongTextObjectManagerEnabled { get; set; }
[SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "long", Justification = "This is an appropriate name for this setting and unrelated to the long data type.")]
int ExportLongTextDataGridThreadCount { get; set; }
[SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "long", Justification = "This is an appropriate name for this setting and unrelated to the long data type.")]
int ExportLongTextSqlThreadCount { get; set; }
int FileTypeIdentifyTimeoutSeconds { get; set; }
bool ForceFolderPreview { get; set; }
bool ForceWebUpload { get; set; }
int HttpErrorNumberOfRetries { get; set; }
int HttpErrorWaitTimeInSeconds { get; set; }
int HttpTimeoutSeconds { get; set; }
int HttpExtractedTextTimeoutSeconds { get; set; }
int ImportBatchMaxVolume { get; set; }
int ImportBatchSize { get; set; }
int InternalKeplerTimeoutInSeconds { get; set; }
int IoErrorNumberOfRetries { get; set; }
int IoErrorWaitTimeInSeconds { get; set; }
bool RetryInTheOriginalTransferMode { get; set; }
int JobCompleteBatchSize { get; set; }
bool LoadImportedFullTextFromServer { get; set; }
bool LogAllEvents { get; set; }
string LogConfigXmlFileName { get; set; }
bool LogHashingEnabled { get; set; }
int MaxReloginTries { get; set; }
int MinBatchSize { get; set; }
[SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", Justification = "This is OK based on usage.")]
string OAuth2ImplicitCredentialRedirectUrl { get; set; }
[SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification = "This is required for backwards compatibility.")]
IList<int> ObjectFieldIdListContainsArtifactId { get; set; }
string OpenIdConnectHomeRealmDiscoveryHint { get; }
bool PermissionErrorsRetry { get; set; }
bool ExportPermissionErrorsRetry { get; set; }
int PreviewThreshold { get; set; }
int ProcessFormRefreshRate { get; set; }
string ProgrammaticWebApiServiceUrl { get; set; }
RetryOptions RetryOptions { get; }
bool SuppressServerCertificateValidation { get; set; }
string TapiAsperaBcpRootFolder { get; set; }
int TapiAsperaNativeDocRootLevels { get; set; }
int TapiAsperaDatagramSize { get; set; }
bool TapiBadPathErrorsRetry { get; set; }
bool TapiFileNotFoundErrorsDisabled { get; set; }
bool TapiExportFileNotFoundErrorsDisabled { get; set; }
bool TapiFileNotFoundErrorsRetry { get; set; }
bool TapiExportFileNotFoundErrorsRetry { get; set; }
bool TapiForceAsperaClient { get; set; }
bool TapiForceBcpHttpClient { get; set; }
string TapiForceClientCandidates { get; set; }
bool { get; set; }
bool TapiForceHttpClient { get; set; }
bool TapiLargeFileProgressEnabled { get; set; }
int TapiMaxInactivitySeconds { get; set; }
int TapiMaxJobParallelism { get; set; }
int TapiMinDataRateMbps { get; set; }
bool TapiPreserveFileTimestamps { get; set; }
bool TapiSubmitApmMetrics { get; set; }
bool TelemetrySubmitApmMetrics { get; set; }
bool TelemetrySubmitSumMetrics { get; set; }
int TelemetryMetricsThrottlingSeconds { get; set; }
int TapiTargetDataRateMbps { get; set; }
string TapiTransferLogDirectory { get; set; }
string TempDirectory { get; set; }
bool UsePipeliningForNativeAndObjectImports { get; set; }
int ValueRefreshThreshold { get; set; }
int WaitBeforeReconnect { get; set; }
int WebApiOperationTimeout { get; set; }
string WebApiServiceUrl { get; set; }
int WebBasedFileDownloadChunkSize { get; set; }
bool UseSynchronizedImportBatchMode { get; set; }
bool UseSearchablePdf { get; set; }
bool? UseKepler { get; set; }
int ReadCommunicationModeErrorNumberOfRetries { get; set; }
int ReadCommunicationModeErrorWaitTimeInSeconds { get; set; }
IAppSettings DeepCopy();
string ValidateUriFormat(string value);
}
}