Package org.flowable.spring.boot
Class FlowableProperties
- java.lang.Object
-
- org.flowable.spring.boot.FlowableProperties
-
@ConfigurationProperties(prefix="flowable") public class FlowableProperties extends Object
- Author:
- Josh Long, Joram Barrez, Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanformFieldValidationEnabledEnable form field validation after form submission on the engine level
-
Constructor Summary
Constructors Constructor Description FlowableProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetActivityFontName()StringgetAnnotationFontName()List<String>getCustomMybatisMappers()List<String>getCustomMybatisXMLMappers()StringgetDatabaseSchema()StringgetDatabaseSchemaUpdate()StringgetDeploymentName()DurationgetHistoryCleaningAfter()intgetHistoryCleaningBatchSize()StringgetHistoryCleaningCycle()org.flowable.common.engine.impl.history.HistoryLevelgetHistoryLevel()StringgetLabelFontName()DurationgetLockPollRate()StringgetProcessDefinitionLocationPrefix()List<String>getProcessDefinitionLocationSuffixes()StringgetRestApiMapping()Deprecated.use {@link org.flowable.spring.boot.process.FlowableProcessProperties#getServlet()#getPath()}StringgetRestApiServletName()Deprecated.use {@link org.flowable.spring.boot.process.FlowableProcessProperties#getServlet()#getName()}DurationgetSchemaLockWaitTime()booleanisAsyncExecutorActivate()booleanisAsyncHistoryExecutorActivate()booleanisCheckProcessDefinitions()booleanisDbHistoryUsed()booleanisDbIdentityUsed()Deprecated.booleanisEnableHistoryCleaning()booleanisFormFieldValidationEnabled()booleanisJpaEnabled()booleanisRestApiEnabled()booleanisUseLockForDatabaseSchemaUpdate()voidsetActivityFontName(String activityFontName)voidsetAnnotationFontName(String annotationFontName)voidsetAsyncExecutorActivate(boolean asyncExecutorActivate)voidsetAsyncHistoryExecutorActivate(boolean asyncHistoryExecutorActivate)voidsetCheckProcessDefinitions(boolean checkProcessDefinitions)voidsetCustomMybatisMappers(List<String> customMyBatisMappers)voidsetCustomMybatisXMLMappers(List<String> customMybatisXMLMappers)voidsetDatabaseSchema(String databaseSchema)voidsetDatabaseSchemaUpdate(String databaseSchemaUpdate)voidsetDbHistoryUsed(boolean isDbHistoryUsed)voidsetDbIdentityUsed(boolean isDbIdentityUsed)Deprecated.voidsetDeploymentName(String deploymentName)voidsetEnableHistoryCleaning(boolean enableHistoryCleaning)voidsetFormFieldValidationEnabled(boolean formFieldValidationEnabled)voidsetHistoryCleaningAfter(Duration historyCleaningAfter)voidsetHistoryCleaningAfterDays(int historyCleaningAfterDays)Deprecated.voidsetHistoryCleaningBatchSize(int historyCleaningBatchSize)voidsetHistoryCleaningCycle(String historyCleaningCycle)voidsetHistoryLevel(org.flowable.common.engine.impl.history.HistoryLevel historyLevel)voidsetJpaEnabled(boolean jpaEnabled)voidsetLabelFontName(String labelFontName)voidsetLockPollRate(Duration lockPollRate)voidsetProcessDefinitionLocationPrefix(String processDefinitionLocationPrefix)voidsetProcessDefinitionLocationSuffixes(List<String> processDefinitionLocationSuffixes)voidsetRestApiEnabled(boolean restApiEnabled)voidsetRestApiMapping(String restApiMapping)Deprecated.use {@link org.flowable.spring.boot.process.FlowableProcessProperties#getServlet()#setPath()}voidsetRestApiServletName(String restApiServletName)Deprecated.use {@link org.flowable.spring.boot.process.FlowableProcessProperties#getServlet()#setName()}voidsetSchemaLockWaitTime(Duration schemaLockWaitTime)voidsetUseLockForDatabaseSchemaUpdate(boolean useLockForDatabaseSchemaUpdate)
-
-
-
Method Detail
-
isAsyncExecutorActivate
public boolean isAsyncExecutorActivate()
-
setAsyncExecutorActivate
public void setAsyncExecutorActivate(boolean asyncExecutorActivate)
-
isAsyncHistoryExecutorActivate
public boolean isAsyncHistoryExecutorActivate()
-
setAsyncHistoryExecutorActivate
public void setAsyncHistoryExecutorActivate(boolean asyncHistoryExecutorActivate)
-
isRestApiEnabled
public boolean isRestApiEnabled()
-
setRestApiEnabled
public void setRestApiEnabled(boolean restApiEnabled)
-
isJpaEnabled
public boolean isJpaEnabled()
-
setJpaEnabled
public void setJpaEnabled(boolean jpaEnabled)
-
getRestApiMapping
@DeprecatedConfigurationProperty(replacement="flowable.process.servlet.path") @Deprecated public String getRestApiMapping()
Deprecated.use {@link org.flowable.spring.boot.process.FlowableProcessProperties#getServlet()#getPath()}
-
setRestApiMapping
@Deprecated public void setRestApiMapping(String restApiMapping)
Deprecated.use {@link org.flowable.spring.boot.process.FlowableProcessProperties#getServlet()#setPath()}
-
getRestApiServletName
@DeprecatedConfigurationProperty(replacement="flowable.process.servlet.name") @Deprecated public String getRestApiServletName()
Deprecated.use {@link org.flowable.spring.boot.process.FlowableProcessProperties#getServlet()#getName()}
-
setRestApiServletName
@Deprecated public void setRestApiServletName(String restApiServletName)
Deprecated.use {@link org.flowable.spring.boot.process.FlowableProcessProperties#getServlet()#setName()}
-
isCheckProcessDefinitions
public boolean isCheckProcessDefinitions()
-
setCheckProcessDefinitions
public void setCheckProcessDefinitions(boolean checkProcessDefinitions)
-
getDeploymentName
public String getDeploymentName()
-
setDeploymentName
public void setDeploymentName(String deploymentName)
-
getDatabaseSchemaUpdate
public String getDatabaseSchemaUpdate()
-
setDatabaseSchemaUpdate
public void setDatabaseSchemaUpdate(String databaseSchemaUpdate)
-
getDatabaseSchema
public String getDatabaseSchema()
-
setDatabaseSchema
public void setDatabaseSchema(String databaseSchema)
-
isUseLockForDatabaseSchemaUpdate
public boolean isUseLockForDatabaseSchemaUpdate()
-
setUseLockForDatabaseSchemaUpdate
public void setUseLockForDatabaseSchemaUpdate(boolean useLockForDatabaseSchemaUpdate)
-
isDbIdentityUsed
@DeprecatedConfigurationProperty(replacement="flowable.idm.enabled") @Deprecated public boolean isDbIdentityUsed()
Deprecated.
-
setDbIdentityUsed
@Deprecated public void setDbIdentityUsed(boolean isDbIdentityUsed)
Deprecated.
-
isDbHistoryUsed
public boolean isDbHistoryUsed()
-
setDbHistoryUsed
public void setDbHistoryUsed(boolean isDbHistoryUsed)
-
getHistoryLevel
public org.flowable.common.engine.impl.history.HistoryLevel getHistoryLevel()
-
setHistoryLevel
public void setHistoryLevel(org.flowable.common.engine.impl.history.HistoryLevel historyLevel)
-
getProcessDefinitionLocationPrefix
public String getProcessDefinitionLocationPrefix()
-
setProcessDefinitionLocationPrefix
public void setProcessDefinitionLocationPrefix(String processDefinitionLocationPrefix)
-
setProcessDefinitionLocationSuffixes
public void setProcessDefinitionLocationSuffixes(List<String> processDefinitionLocationSuffixes)
-
setCustomMybatisXMLMappers
public void setCustomMybatisXMLMappers(List<String> customMybatisXMLMappers)
-
getActivityFontName
public String getActivityFontName()
-
setActivityFontName
public void setActivityFontName(String activityFontName)
-
getLabelFontName
public String getLabelFontName()
-
setLabelFontName
public void setLabelFontName(String labelFontName)
-
getAnnotationFontName
public String getAnnotationFontName()
-
setAnnotationFontName
public void setAnnotationFontName(String annotationFontName)
-
isFormFieldValidationEnabled
public boolean isFormFieldValidationEnabled()
-
setFormFieldValidationEnabled
public void setFormFieldValidationEnabled(boolean formFieldValidationEnabled)
-
getLockPollRate
public Duration getLockPollRate()
-
setLockPollRate
public void setLockPollRate(Duration lockPollRate)
-
getSchemaLockWaitTime
public Duration getSchemaLockWaitTime()
-
setSchemaLockWaitTime
public void setSchemaLockWaitTime(Duration schemaLockWaitTime)
-
isEnableHistoryCleaning
public boolean isEnableHistoryCleaning()
-
setEnableHistoryCleaning
public void setEnableHistoryCleaning(boolean enableHistoryCleaning)
-
getHistoryCleaningCycle
public String getHistoryCleaningCycle()
-
setHistoryCleaningCycle
public void setHistoryCleaningCycle(String historyCleaningCycle)
-
setHistoryCleaningAfterDays
@Deprecated @DeprecatedConfigurationProperty(replacement="flowable.history-cleaning-after", reason="Switched to using a Duration that allows more flexible configuration") public void setHistoryCleaningAfterDays(int historyCleaningAfterDays)
Deprecated.
-
getHistoryCleaningAfter
public Duration getHistoryCleaningAfter()
-
setHistoryCleaningAfter
public void setHistoryCleaningAfter(Duration historyCleaningAfter)
-
getHistoryCleaningBatchSize
public int getHistoryCleaningBatchSize()
-
setHistoryCleaningBatchSize
public void setHistoryCleaningBatchSize(int historyCleaningBatchSize)
-
-