Package pro.taskana
Class TaskanaConfiguration
java.lang.Object
pro.taskana.TaskanaConfiguration
This central class creates the TaskanaEngine and holds all the information about DB and Security.
Security is enabled by default.
All members are immutable, also Lists and Maps and Sets.
Security is enabled by default.
All members are immutable, also Lists and Maps and Sets.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanintlonglongintreturn all properties loaded from taskana properties file.intintinthashCode()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanstatic booleanHelper method to determine whether all access ids (user id and group ids) should be used in lower case.toString()
-
Method Details
-
shouldUseLowerCaseForAccessIds
public static boolean shouldUseLowerCaseForAccessIds()Helper method to determine whether all access ids (user id and group ids) should be used in lower case.- Returns:
- true if all access ids should be used in lower case, false otherwise
-
getAllClassificationCategories
-
getClassificationCategoriesByType
-
getClassificationCategoriesByType
-
getDataSource
-
isUseManagedTransactions
public boolean isUseManagedTransactions() -
getSchemaName
-
isSecurityEnabled
public boolean isSecurityEnabled() -
getDomains
-
isEnforceServiceLevel
public boolean isEnforceServiceLevel() -
getRoleMap
-
getClassificationTypes
-
isUseWorkingTimeCalculation
public boolean isUseWorkingTimeCalculation() -
getWorkingTimeSchedule
-
getWorkingTimeScheduleTimeZone
-
getCustomHolidays
-
isGermanPublicHolidaysEnabled
public boolean isGermanPublicHolidaysEnabled() -
isGermanPublicHolidaysCorpusChristiEnabled
public boolean isGermanPublicHolidaysCorpusChristiEnabled() -
isDeleteHistoryEventsOnTaskDeletionEnabled
public boolean isDeleteHistoryEventsOnTaskDeletionEnabled() -
getLogHistoryLoggerName
-
isJobSchedulerEnabled
public boolean isJobSchedulerEnabled() -
getJobSchedulerInitialStartDelay
public long getJobSchedulerInitialStartDelay() -
getJobSchedulerPeriod
public long getJobSchedulerPeriod() -
getJobSchedulerPeriodTimeUnit
-
getMaxNumberOfJobRetries
public int getMaxNumberOfJobRetries() -
getJobBatchSize
public int getJobBatchSize() -
getJobFirstRun
-
getJobRunEvery
-
getJobLockExpirationPeriod
-
isTaskCleanupJobEnabled
public boolean isTaskCleanupJobEnabled() -
getTaskCleanupJobMinimumAge
-
isTaskCleanupJobAllCompletedSameParentBusiness
public boolean isTaskCleanupJobAllCompletedSameParentBusiness() -
getTaskCleanupJobLockExpirationPeriod
-
isWorkbasketCleanupJobEnabled
public boolean isWorkbasketCleanupJobEnabled() -
getWorkbasketCleanupJobLockExpirationPeriod
-
isSimpleHistoryCleanupJobEnabled
public boolean isSimpleHistoryCleanupJobEnabled() -
getSimpleHistoryCleanupJobBatchSize
public int getSimpleHistoryCleanupJobBatchSize() -
getSimpleHistoryCleanupJobMinimumAge
-
isSimpleHistoryCleanupJobAllCompletedSameParentBusiness
public boolean isSimpleHistoryCleanupJobAllCompletedSameParentBusiness() -
getSimpleHistoryCleanupJobLockExpirationPeriod
-
isTaskUpdatePriorityJobEnabled
public boolean isTaskUpdatePriorityJobEnabled() -
getTaskUpdatePriorityJobBatchSize
public int getTaskUpdatePriorityJobBatchSize() -
getTaskUpdatePriorityJobFirstRun
-
getTaskUpdatePriorityJobRunEvery
-
getTaskUpdatePriorityJobLockExpirationPeriod
-
isUserInfoRefreshJobEnabled
public boolean isUserInfoRefreshJobEnabled() -
getUserRefreshJobFirstRun
-
getUserRefreshJobRunEvery
-
getUserRefreshJobLockExpirationPeriod
-
getCustomJobs
-
isAddAdditionalUserInfo
public boolean isAddAdditionalUserInfo() -
getMinimalPermissionsToAssignDomains
-
isUseSpecificDb2Taskquery
public boolean isUseSpecificDb2Taskquery() -
getProperties
return all properties loaded from taskana properties file. Per Design the normal Properties are not immutable, so we return here an ImmutableMap, because we don't want direct changes in the configuration.- Returns:
- all properties loaded from taskana properties file
-
hashCode
public int hashCode() -
equals
-
toString
-