public class VitamConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_PATH
General Admin path
|
static String |
ADMIN_TENANT_URL
path for admintenant
|
static String |
AUTOTEST_URL
General admin auto test path
|
static String |
DIP_EXPORT_URL
path for exporting DIP
|
static String |
LOGIN_URL
login path
|
static String |
LOGOUT_URL
logout path
|
static String |
MESSAGES_LOGBOOK_URL
path for messages/logbook
|
static String |
OBJECT_DOWNLOAD_URL
path for download object data
|
static String |
PERMISSIONS_URL
path for permissions
|
static String |
SECURE_MODE_URL
path for securemode
|
static String |
STATUS_URL
General status path
|
static String |
TENANTS_URL
General tenants path
|
static String |
VERSION_URL
General admin version path
|
protected static String |
VITAM_CONFIG_PROPERTY
Property Vitam Config Folder
|
protected static String |
VITAM_DATA_PROPERTY
Property Vitam Data Folder
|
protected static String |
VITAM_LOG_PROPERTY
Property Vitam Log Folder
|
protected static String |
VITAM_TMP_PROPERTY
Property Vitam Tmp Folder
|
Modifier and Type | Method and Description |
---|---|
static Long |
getAcceptableRequestTime() |
static Integer |
getAdminTenant()
Getter for admin Tenant
|
static Integer |
getAsyncWorkspaceQueueSize() |
static int |
getBatchSize()
Get the batchSize.
|
static Integer |
getBufferNumber()
getter for bufferNumber
|
static int |
getCacheControlDelay()
Getter for cacheControlDelay;
|
static Integer |
getChunkSize() |
static ClassificationLevel |
getClassificationLevel() |
String |
getConfig()
Get Config directory
|
static VitamConfiguration |
getConfiguration() |
static Integer |
getConnectTimeout() |
String |
getData()
Get Data directory
|
static DigestType |
getDefaultDigestType() |
static String |
getDefaultLang()
getter for DEFAULT_LANG
|
static int |
getDefaultOffset()
Get defaultOffset
|
static String |
getDefaultOriginatingAgencyForExport(Integer tenant)
Getter for default OriginatingAgency for DIP export OriginatingAgency conflict
|
static DigestType |
getDefaultTimestampDigestType() |
static Integer |
getDelayGetClient() |
static Integer |
getDelayMultipleInputstream()
getter for delayMultipleInputstream
|
static Integer |
getDelayMultipleSubinputstream()
getter for delayMultipleSubinputstream
|
static Integer |
getDelayValidationAfterInactivity() |
static int |
getDeleteIncompleteReconstructedUnitDelay()
Get the delay of deleting incomplete reconstructed units
|
static int |
getDistributeurBatchSize()
Getter for distributeurBatchSize;
|
static long |
getDistributionThreshold()
Getter for distributionThreshold;
|
static long |
getEliminationActionThreshold() |
static long |
getEliminationAnalysisThreshold() |
static int |
getExpireCacheEntriesDelay()
Setter for expireCacheEntriesDelay
|
static Integer |
getIntervalDelayCheckIdle() |
static int |
getKeywordMaxLength()
Getter
|
String |
getLog()
Get Log directory
|
static int |
getMaxCacheEntries()
Getter for maxCacheEntries;
|
static Integer |
getMaxClientPerHost() |
static Integer |
getMaxConcurrentMultipleInputstreamHandler()
getter for maxConcurrentMultipleInputstreamHandler
|
static Integer |
getMaxDelayUnusedConnection() |
static int |
getMaxElasticsearchBulk()
Getter for maxElasticsearchBulk;
|
static int |
getMaxResultWindow()
Get the maxResultWindow
|
static Integer |
getMaxTotalClient() |
static int |
getMigrationBulkSize()
Get migrationBulkSize
|
static Integer |
getMinimumThreadPoolSize()
getter for minimumThreadPoolSize
|
static Integer |
getNoValidationAfterInactivity()
getter for noValidationAfterInactivity
|
static int |
getNumberDbClientThread()
Getter for numberDbClientThread;
|
static Integer |
getNumberEsQueue()
Getter for numberEsQueue;
|
static int |
getOptimisticLockRetryNumber()
Get optimistic lock retry number
|
static int |
getOptimisticLockSleepTime()
Get optimistic lock sleep time
|
static Integer |
getReadTimeout() |
static int |
getReclassificationMaxBulkThreshold()
Max dsl queries per reclassification request
|
static int |
getReclassificationMaxGuildListSizeInLogbookOperation()
Max guid to store in logbook operation in evDetData
|
static int |
getReclassificationMaxUnitsThreshold()
Max units to update per reclassification request
|
static Integer |
getRecvBufferSize() |
static int |
getRestoreBulkSize()
Getter restore bulk size
|
static Integer |
getRetryDelay() |
static Integer |
getRetryNumber() |
static String |
getSecret() |
static DigestType |
getSecurityDigestType() |
static long |
getShutdownTimeout() |
static int |
getStoreGraphElementsPerFile()
Get the store graph elements per file
|
static Integer |
getStoreGraphOverlapDelay()
Get store graph overlap delay
|
static long |
getSwiftFileLimit() |
static List<Integer> |
getTenants()
Getter for list of tenant
|
static int |
getTextMaxLength()
Getter
|
static Integer |
getThreadsAllowedToBlockForConnectionMultipliers() |
String |
getTmp()
Get Tmp directory
|
static Integer |
getVitamCleanPeriod()
getter for vitamTmpFolderDefault
|
static String |
getVitamConfigFolder() |
static String |
getVitamConfigFolderDefault()
getter for vitamConfigFolderDefault
|
static String |
getVitamConfigProperty()
getter for VITAM_CONFIG_PROPERTY
|
static String |
getVitamDataFolder() |
static String |
getVitamDataFolderDefault()
getter for vitamDataFolderDefault
|
static String |
getVitamDataProperty()
getter for VITAM_DATA_PROPERTY
|
static String |
getVitamLogFolder() |
static String |
getVitamLogFolderDefault()
getter for vitamLogFolderDefault
|
static String |
getVitamLogProperty()
getter for VITAM_LOG_PROPERTY
|
static String |
getVitamTmpFolder() |
static String |
getVitamTmpFolderDefault()
getter for vitamTmpFolderDefault
|
static String |
getVitamTmpProperty()
getter for VITAM_TMP_PROPERTY
|
static Integer |
getWaitingDelay() |
static int |
getWorkerBulkSize()
Getter for worker bulk size
|
static String |
getWorkspaceWorkflowsFolder() |
static void |
importConfigurationParameters(VitamConfigurationParameters parameters)
import not null parameters configuration from VitamConfigurationParameters
|
static Boolean |
isAllowGzipDecoding()
getter for allowGzipDecoding
|
static Boolean |
isAllowGzipEncoding()
getter for allowGzipEncoding
|
static boolean |
isExportScore()
Getter for exportScore;
|
static Boolean |
isFilterActivation() |
static Boolean |
isForceChunkModeInputStream()
getter for forceChunkModeInputStream
|
static boolean |
isIntegrationTest() |
static boolean |
isPurgeTemporaryLFC() |
static Boolean |
isUseNewJaxrClient() |
static void |
setAdminTenant(Integer adminTenant)
Setter for admin Tenant
|
static void |
setAsyncWorkspaceQueueSize(int queueSize)
set the size of the queue of async workspace
|
static void |
setBatchSize(int batchSize)
Set the batchSize.
|
static void |
setCacheControlDelay(int cacheControlDelay)
Setter for cacheControlDelay;
|
static void |
setClassificationLevel(ClassificationLevel classificationLevel) |
VitamConfiguration |
setConfig(String config)
Set Config directory
|
static void |
setConnectTimeout(int timeout)
Junit facility
|
VitamConfiguration |
setData(String data)
Set Data directory
|
static void |
setDefaultLang(String defaultLang)
setter for DEFAULT_LANG
|
static void |
setDefaultOriginatingAgencyByTenant(Map<Integer,String> defaultOriginatingAgencyForExport)
Setter for default OriginatingAgency for DIP export OriginatingAgency conflict
|
static void |
setDelayMultipleInputstream(int delayMultipleInputstream)
setter for delayMultipleSubinputstream
|
static void |
setDeleteIncompleteReconstructedUnitDelay(int deleteIncompleteReconstructedUnitDelay)
Set the delay of deleting incomplete reconstructed units
|
static void |
setDistributeurBatchSize(int distributeurBatchSize)
Setter for distributeurBatchSize;
|
static void |
setDistributionThreshold(long distributionThreshold)
Setter for distributionThreshold;
|
static void |
setEliminationActionThreshold(long eliminationActionThreshold) |
static void |
setEliminationAnalysisThreshold(long eliminationAnalysisThreshold) |
static void |
setExpireCacheEntriesDelay(int expireCacheEntriesDelay)
Getter for expireCacheEntriesDelay
|
static void |
setFilterActivation(Boolean filterActivationValue) |
static void |
setIntegrationTest(boolean value)
setIntegrationTest
|
static void |
setKeywordMaxLength(int keywordMaxLength)
Setter
|
VitamConfiguration |
setLog(String log)
Set Log directory
|
static void |
setMaxCacheEntries(int maxCacheEntries)
Setter for maxCacheEntries;
|
static void |
setMaxResultWindow(int maxResultWindow)
Set the maxResultWindow
|
static void |
setMigrationBulkSize(int migrationBulkSize)
Set the migrationBulkSize
|
static void |
setOptimisticLockRetryNumber(int optimisticLockRetryNumber)
Set optimistic lock retry number
|
static void |
setOptimisticLockSleepTime(int optimisticLockSleepTime)
Set optimistic lock sleep time
|
static void |
setPurgeTemporaryLFC(boolean purgeTemporaryLFC) |
static void |
setReclassificationMaxBulkThreshold(int reclassificationMaxBulkThreshold)
Max dsl queries per reclassification request
|
static void |
setReclassificationMaxGuildListSizeInLogbookOperation(int reclassificationMaxGuildListSizeInLogbookOperation)
Max guid to store in logbook operation in evDetData
|
static void |
setReclassificationMaxUnitsThreshold(int reclassificationMaxUnitsThreshold)
Max units to update per reclassification request
|
static void |
setRestoreBulkSize(int restoreBulkSize)
Setter restore bulk size
|
static void |
setSecret(String secretValue) |
static void |
setStoreGraphElementsPerFile(Integer storeGraphElementsPerFile)
Set store graph elements per file
|
static void |
setStoreGraphOverlapDelay(Integer storeGraphOverlapDelay)
Set store graph overlap delay
|
static void |
setTenants(List<Integer> tenants) |
static void |
setTextMaxLength(int textMaxLength)
Setter
|
VitamConfiguration |
setTmp(String tmp)
Set Tmp directory
|
static void |
setWorkerBulkSize(int workerBulkSize)
Setter worker bulk size
|
static void |
setWorkspaceWorkflowsFolder(String workspaceWorkflowsFolder) |
public static final String ADMIN_PATH
public static final String AUTOTEST_URL
public static final String VERSION_URL
public static final String STATUS_URL
public static final String TENANTS_URL
public static final String LOGIN_URL
public static final String LOGOUT_URL
public static final String MESSAGES_LOGBOOK_URL
public static final String OBJECT_DOWNLOAD_URL
public static final String DIP_EXPORT_URL
public static final String SECURE_MODE_URL
public static final String ADMIN_TENANT_URL
public static final String PERMISSIONS_URL
protected static final String VITAM_CONFIG_PROPERTY
protected static final String VITAM_DATA_PROPERTY
protected static final String VITAM_LOG_PROPERTY
protected static final String VITAM_TMP_PROPERTY
public static VitamConfiguration getConfiguration()
public static Integer getAdminTenant()
public static void setAdminTenant(Integer adminTenant)
adminTenant
- public static boolean isPurgeTemporaryLFC()
public static void setPurgeTemporaryLFC(boolean purgeTemporaryLFC)
public String getConfig()
public VitamConfiguration setConfig(String config)
config
- the config directorypublic String getLog()
public VitamConfiguration setLog(String log)
log
- the Log directorypublic String getData()
public VitamConfiguration setData(String data)
data
- the Data directorypublic String getTmp()
public VitamConfiguration setTmp(String tmp)
tmp
- tmp the Tmp directorypublic static void importConfigurationParameters(VitamConfigurationParameters parameters)
parameters
- public static String getVitamTmpFolder()
public static String getVitamLogFolder()
public static String getVitamDataFolder()
public static String getVitamConfigFolder()
public static Integer getChunkSize()
public static Integer getConnectTimeout()
public static void setConnectTimeout(int timeout)
timeout
- to setpublic static Integer getReadTimeout()
public static long getShutdownTimeout()
public static Integer getMaxTotalClient()
public static Integer getMaxClientPerHost()
public static Integer getDelayValidationAfterInactivity()
public static Integer getDelayGetClient()
public static Integer getIntervalDelayCheckIdle()
public static Integer getMaxDelayUnusedConnection()
public static String getSecret()
public static void setSecret(String secretValue)
secretValue
- the secret to setpublic static Boolean isFilterActivation()
public static void setFilterActivation(Boolean filterActivationValue)
filterActivationValue
- the filterActivation to setpublic static Long getAcceptableRequestTime()
public static DigestType getSecurityDigestType()
public static DigestType getDefaultDigestType()
public static DigestType getDefaultTimestampDigestType()
public static Integer getThreadsAllowedToBlockForConnectionMultipliers()
public static Integer getRetryNumber()
public static Integer getRetryDelay()
public static Integer getWaitingDelay()
public static Integer getAsyncWorkspaceQueueSize()
public static Integer getRecvBufferSize()
public static Boolean isUseNewJaxrClient()
public static boolean isIntegrationTest()
public static void setIntegrationTest(boolean value)
value
- public static String getVitamConfigProperty()
public static String getVitamDataProperty()
public static String getVitamLogProperty()
public static String getVitamTmpProperty()
public static String getVitamConfigFolderDefault()
public static String getVitamDataFolderDefault()
public static String getVitamLogFolderDefault()
public static Integer getVitamCleanPeriod()
public static String getVitamTmpFolderDefault()
public static void setAsyncWorkspaceQueueSize(int queueSize)
queueSize
- public static Integer getDelayMultipleInputstream()
public static void setDelayMultipleInputstream(int delayMultipleInputstream)
delayMultipleInputstream
- public static Integer getDelayMultipleSubinputstream()
public static ClassificationLevel getClassificationLevel()
public static void setClassificationLevel(ClassificationLevel classificationLevel)
public static Integer getMinimumThreadPoolSize()
public static Integer getNoValidationAfterInactivity()
public static Boolean isAllowGzipEncoding()
public static Boolean isForceChunkModeInputStream()
public static Boolean isAllowGzipDecoding()
public static Integer getBufferNumber()
public static Integer getMaxConcurrentMultipleInputstreamHandler()
public static String getDefaultLang()
public static void setDefaultLang(String defaultLang)
defaultLang
- public static int getDistributeurBatchSize()
public static void setDistributeurBatchSize(int distributeurBatchSize)
distributeurBatchSize
- public static int getWorkerBulkSize()
public static void setWorkerBulkSize(int workerBulkSize)
workerBulkSize
- public static int getRestoreBulkSize()
public static void setRestoreBulkSize(int restoreBulkSize)
restoreBulkSize
- public static int getCacheControlDelay()
public static void setCacheControlDelay(int cacheControlDelay)
cacheControlDelay
- public static int getMaxCacheEntries()
public static void setMaxCacheEntries(int maxCacheEntries)
maxCacheEntries
- public static int getExpireCacheEntriesDelay()
public static void setExpireCacheEntriesDelay(int expireCacheEntriesDelay)
expireCacheEntriesDelay
- public static boolean isExportScore()
public static int getMaxElasticsearchBulk()
public static int getNumberDbClientThread()
public static Integer getNumberEsQueue()
public static long getDistributionThreshold()
public static void setDistributionThreshold(long distributionThreshold)
distributionThreshold
- public static long getEliminationAnalysisThreshold()
public static void setEliminationAnalysisThreshold(long eliminationAnalysisThreshold)
public static long getEliminationActionThreshold()
public static void setEliminationActionThreshold(long eliminationActionThreshold)
public static String getDefaultOriginatingAgencyForExport(Integer tenant)
public static void setDefaultOriginatingAgencyByTenant(Map<Integer,String> defaultOriginatingAgencyForExport)
defaultOriginatingAgencyForExport
- originatingAgency for exportpublic static int getMaxResultWindow()
public static void setMaxResultWindow(int maxResultWindow)
maxResultWindow
- public static int getBatchSize()
public static int getStoreGraphElementsPerFile()
public static void setStoreGraphElementsPerFile(Integer storeGraphElementsPerFile)
storeGraphElementsPerFile
- public static Integer getStoreGraphOverlapDelay()
public static void setStoreGraphOverlapDelay(Integer storeGraphOverlapDelay)
storeGraphOverlapDelay
- public static int getDeleteIncompleteReconstructedUnitDelay()
public static void setDeleteIncompleteReconstructedUnitDelay(int deleteIncompleteReconstructedUnitDelay)
deleteIncompleteReconstructedUnitDelay
- public static int getOptimisticLockRetryNumber()
public static void setOptimisticLockRetryNumber(int optimisticLockRetryNumber)
optimisticLockRetryNumber
- public static int getOptimisticLockSleepTime()
public static void setOptimisticLockSleepTime(int optimisticLockSleepTime)
optimisticLockSleepTime
- public static int getKeywordMaxLength()
public static void setKeywordMaxLength(int keywordMaxLength)
keywordMaxLength
- public static int getTextMaxLength()
public static void setTextMaxLength(int textMaxLength)
textMaxLength
- public static int getDefaultOffset()
public static void setBatchSize(int batchSize)
batchSize
- public static long getSwiftFileLimit()
public static int getMigrationBulkSize()
public static void setMigrationBulkSize(int migrationBulkSize)
migrationBulkSize
- public static String getWorkspaceWorkflowsFolder()
public static void setWorkspaceWorkflowsFolder(String workspaceWorkflowsFolder)
public static int getReclassificationMaxBulkThreshold()
public static void setReclassificationMaxBulkThreshold(int reclassificationMaxBulkThreshold)
public static int getReclassificationMaxUnitsThreshold()
public static void setReclassificationMaxUnitsThreshold(int reclassificationMaxUnitsThreshold)
public static int getReclassificationMaxGuildListSizeInLogbookOperation()
public static void setReclassificationMaxGuildListSizeInLogbookOperation(int reclassificationMaxGuildListSizeInLogbookOperation)
Copyright © 2018 Vitam. All rights reserved.