code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
private Date getDateAfterRepeat(Date date) { // use date without the current offset for due date calculation to get the // next due date as it would be without any modifications, later add offset Date dateWithoutOffset = new Date(date.getTime() - repeatOffset); if (start != null) { Date cur = star...
helper class for parsing ISO8601 duration format (also recurring) and computing next timer date
getDateAfterRepeat
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
Apache-2.0
private Date add(Date date, Duration duration) { Calendar calendar = new GregorianCalendar(); calendar.setTime(date); duration.addTo(calendar); return calendar.getTime(); }
helper class for parsing ISO8601 duration format (also recurring) and computing next timer date
add
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
Apache-2.0
private Duration parsePeriod(String period) { if (period.matches(PnW_PATTERN)) { return parsePnWDuration(period); } return datatypeFactory.newDuration(period); }
helper class for parsing ISO8601 duration format (also recurring) and computing next timer date
parsePeriod
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
Apache-2.0
private Duration parsePnWDuration(String period) { String weeks = period.replaceAll("\\D", ""); long duration = Long.parseLong(weeks) * MS_PER_WEEK; return datatypeFactory.newDuration(duration); }
helper class for parsing ISO8601 duration format (also recurring) and computing next timer date
parsePnWDuration
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
Apache-2.0
private boolean isDuration(String time) { return time.startsWith("P"); }
helper class for parsing ISO8601 duration format (also recurring) and computing next timer date
isDuration
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
Apache-2.0
public void setRepeatOffset(long repeatOffset) { this.repeatOffset = repeatOffset; }
helper class for parsing ISO8601 duration format (also recurring) and computing next timer date
setRepeatOffset
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/calendar/DurationHelper.java
Apache-2.0
@Override public String toString() { return getClass().getSimpleName(); }
<p>Adapter class for implementing process engine plugins</p> @author Daniel Meyer
toString
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractProcessEnginePlugin.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractProcessEnginePlugin.java
Apache-2.0
@Override protected void init() { initTransactionManager(); initDbSchemaOperationsCommandContextFactory(); super.init(); }
{@link CommandContextFactory} to be used for DbSchemaOperations
init
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
Apache-2.0
@Override protected Collection< ? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired() { List<CommandInterceptor> defaultCommandInterceptorsTxRequired = new ArrayList<CommandInterceptor>(); if (!isDisableExceptionCode()) { defaultCommandInterceptorsTxRequired.add(getExceptionCodeInterce...
{@link CommandContextFactory} to be used for DbSchemaOperations
getDefaultCommandInterceptorsTxRequired
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
Apache-2.0
@Override protected Collection< ? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequiresNew() { List<CommandInterceptor> defaultCommandInterceptorsTxRequiresNew = new ArrayList<CommandInterceptor>(); if (!isDisableExceptionCode()) { defaultCommandInterceptorsTxRequiresNew.add(getExceptionCo...
{@link CommandContextFactory} to be used for DbSchemaOperations
getDefaultCommandInterceptorsTxRequiresNew
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
Apache-2.0
@Override protected void initCommandExecutorDbSchemaOperations() { if(commandExecutorSchemaOperations == null) { List<CommandInterceptor> commandInterceptorsDbSchemaOperations = new ArrayList<CommandInterceptor>(); commandInterceptorsDbSchemaOperations.add(new LogInterceptor()); commandIntercept...
provide custom command executor that uses NON-JTA transactions
initCommandExecutorDbSchemaOperations
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
Apache-2.0
protected void initDbSchemaOperationsCommandContextFactory() { if(dbSchemaOperationsCommandContextFactory == null) { TxContextCommandContextFactory cmdContextFactory = new TxContextCommandContextFactory(); cmdContextFactory.setProcessEngineConfiguration(this); cmdContextFactory.setTransactionConte...
provide custom command executor that uses NON-JTA transactions
initDbSchemaOperationsCommandContextFactory
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
Apache-2.0
public String getTransactionManagerJndiName() { return transactionManagerJndiName; }
provide custom command executor that uses NON-JTA transactions
getTransactionManagerJndiName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
Apache-2.0
public void setTransactionManagerJndiName(String transactionManagerJndiName) { this.transactionManagerJndiName = transactionManagerJndiName; }
provide custom command executor that uses NON-JTA transactions
setTransactionManagerJndiName
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
Apache-2.0
public CommandContextFactory getDbSchemaOperationsCommandContextFactory() { return dbSchemaOperationsCommandContextFactory; }
provide custom command executor that uses NON-JTA transactions
getDbSchemaOperationsCommandContextFactory
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
Apache-2.0
public void setDbSchemaOperationsCommandContextFactory(CommandContextFactory dbSchemaOperationsCommandContextFactory) { this.dbSchemaOperationsCommandContextFactory = dbSchemaOperationsCommandContextFactory; }
provide custom command executor that uses NON-JTA transactions
setDbSchemaOperationsCommandContextFactory
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/AbstractTransactionProcessEngineConfiguration.java
Apache-2.0
public CompositeProcessEnginePlugin addProcessEnginePlugin(ProcessEnginePlugin plugin, ProcessEnginePlugin... additionalPlugins) { return this.addProcessEnginePlugins(toList(plugin, additionalPlugins)); }
Add one (or more) plugins. @param plugin first plugin @param additionalPlugins additional vararg plugins @return self for fluent usage
addProcessEnginePlugin
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
Apache-2.0
public CompositeProcessEnginePlugin addProcessEnginePlugins(final Collection<ProcessEnginePlugin> plugins) { this.plugins.addAll(plugins); return this; }
Add collection of plugins. If collection is not sortable, order of plugin execution can not be guaranteed. @param plugins plugins to add @return self for fluent usage
addProcessEnginePlugins
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
Apache-2.0
@Override public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) { for (ProcessEnginePlugin plugin : plugins) { plugin.preInit(processEngineConfiguration); } }
Add collection of plugins. If collection is not sortable, order of plugin execution can not be guaranteed. @param plugins plugins to add @return self for fluent usage
preInit
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
Apache-2.0
@Override public void postInit(ProcessEngineConfigurationImpl processEngineConfiguration) { for (ProcessEnginePlugin plugin : plugins) { plugin.postInit(processEngineConfiguration); } }
Add collection of plugins. If collection is not sortable, order of plugin execution can not be guaranteed. @param plugins plugins to add @return self for fluent usage
postInit
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
Apache-2.0
@Override public void postProcessEngineBuild(ProcessEngine processEngine) { for (ProcessEnginePlugin plugin : plugins) { plugin.postProcessEngineBuild(processEngine); } }
Add collection of plugins. If collection is not sortable, order of plugin execution can not be guaranteed. @param plugins plugins to add @return self for fluent usage
postProcessEngineBuild
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
Apache-2.0
public List<ProcessEnginePlugin> getPlugins() { return plugins; }
Get all plugins. @return the configured plugins
getPlugins
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
Apache-2.0
@Override public String toString() { return this.getClass().getSimpleName() + plugins; }
Get all plugins. @return the configured plugins
toString
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
Apache-2.0
private static List<ProcessEnginePlugin> toList(ProcessEnginePlugin plugin, ProcessEnginePlugin... additionalPlugins) { final List<ProcessEnginePlugin> plugins = new ArrayList<ProcessEnginePlugin>(); plugins.add(plugin); if (additionalPlugins != null && additionalPlugins.length > 0) { plugins.addAll(A...
Get all plugins. @return the configured plugins
toList
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/CompositeProcessEnginePlugin.java
Apache-2.0
public void logModelHTTLLongerThanGlobalConfiguration(String definitionKey) { logWarn( "017", "definitionKey: {}; " + "The specified Time To Live (TTL) in the model is longer than the global TTL configuration. " + "The historic data related to this model will be cleaned up at later p...
Method for logging message when model TTL longer than global TTL. @param definitionKey the correlated definition key with which history TTL is related to. For processes related to httl, that is the processDefinitionKey, for cases the case definition key whereas for decisions i...
logModelHTTLLongerThanGlobalConfiguration
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ConfigurationLogger.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ConfigurationLogger.java
Apache-2.0
public NotValidException logErrorNoTTLConfigured() { return new NotValidException(exceptionMessage("018", "History Time To Live (TTL) cannot be null. " + "TTL is necessary for the History Cleanup to work. The following options are possible:\n" + "* Set historyTimeToLive in the model\n" ...
Method for logging message when model TTL longer than global TTL. @param definitionKey the correlated definition key with which history TTL is related to. For processes related to httl, that is the processDefinitionKey, for cases the case definition key whereas for decisions i...
logErrorNoTTLConfigured
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ConfigurationLogger.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ConfigurationLogger.java
Apache-2.0
public ProcessEngineException invalidTransactionIsolationLevel(String transactionIsolationLevel) { return new ProcessEngineException(exceptionMessage("019", "The transaction isolation level set for the database is '{}' which differs from the recommended value. " + "Please change the isolation le...
Method for logging message when model TTL longer than global TTL. @param definitionKey the correlated definition key with which history TTL is related to. For processes related to httl, that is the processDefinitionKey, for cases the case definition key whereas for decisions i...
invalidTransactionIsolationLevel
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ConfigurationLogger.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ConfigurationLogger.java
Apache-2.0
public void logSkippedIsolationLevelCheck(String transactionIsolationLevel) { logWarn("020", "The transaction isolation level set for the database is '{}' which differs from the recommended value " + "and property skipIsolationLevelCheck is enabled. " + "Please keep in mind that levels diffe...
Method for logging message when model TTL longer than global TTL. @param definitionKey the correlated definition key with which history TTL is related to. For processes related to httl, that is the processDefinitionKey, for cases the case definition key whereas for decisions i...
logSkippedIsolationLevelCheck
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ConfigurationLogger.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ConfigurationLogger.java
Apache-2.0
@Override protected CommandInterceptor createTransactionInterceptor(boolean requiresNew) { return new JakartaTransactionInterceptor(transactionManager, requiresNew, this); }
Jakarta Transactions-based implementation of the {@link AbstractTransactionProcessEngineConfiguration}
createTransactionInterceptor
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JakartaTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JakartaTransactionProcessEngineConfiguration.java
Apache-2.0
@Override protected void initTransactionManager() { if(transactionManager == null){ if(transactionManagerJndiName == null || transactionManagerJndiName.length() == 0) { throw LOG.invalidConfigTransactionManagerIsNull(); } try { transactionManager = (TransactionManager) new Initia...
Jakarta Transactions-based implementation of the {@link AbstractTransactionProcessEngineConfiguration}
initTransactionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JakartaTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JakartaTransactionProcessEngineConfiguration.java
Apache-2.0
@Override protected void initTransactionContextFactory() { if(transactionContextFactory == null) { transactionContextFactory = new JakartaTransactionContextFactory(transactionManager); } }
Jakarta Transactions-based implementation of the {@link AbstractTransactionProcessEngineConfiguration}
initTransactionContextFactory
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JakartaTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JakartaTransactionProcessEngineConfiguration.java
Apache-2.0
public TransactionManager getTransactionManager() { return transactionManager; }
Jakarta Transactions-based implementation of the {@link AbstractTransactionProcessEngineConfiguration}
getTransactionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JakartaTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JakartaTransactionProcessEngineConfiguration.java
Apache-2.0
public void setTransactionManager(TransactionManager transactionManager) { this.transactionManager = transactionManager; }
Jakarta Transactions-based implementation of the {@link AbstractTransactionProcessEngineConfiguration}
setTransactionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JakartaTransactionProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JakartaTransactionProcessEngineConfiguration.java
Apache-2.0
@Override protected CommandInterceptor createTransactionInterceptor(boolean requiresNew) { return new JtaTransactionInterceptor(transactionManager, requiresNew, this); }
JTA-based implementation of the {@link AbstractTransactionProcessEngineConfiguration} @author Tom Baeyens
createTransactionInterceptor
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JtaProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JtaProcessEngineConfiguration.java
Apache-2.0
@Override protected void initTransactionManager() { if(transactionManager == null){ if(transactionManagerJndiName == null || transactionManagerJndiName.length() == 0) { throw LOG.invalidConfigTransactionManagerIsNull(); } try { transactionManager = (TransactionManager) new Initia...
JTA-based implementation of the {@link AbstractTransactionProcessEngineConfiguration} @author Tom Baeyens
initTransactionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JtaProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JtaProcessEngineConfiguration.java
Apache-2.0
@Override protected void initTransactionContextFactory() { if(transactionContextFactory == null) { transactionContextFactory = new JtaTransactionContextFactory(transactionManager); } }
JTA-based implementation of the {@link AbstractTransactionProcessEngineConfiguration} @author Tom Baeyens
initTransactionContextFactory
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JtaProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JtaProcessEngineConfiguration.java
Apache-2.0
public TransactionManager getTransactionManager() { return transactionManager; }
JTA-based implementation of the {@link AbstractTransactionProcessEngineConfiguration} @author Tom Baeyens
getTransactionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JtaProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JtaProcessEngineConfiguration.java
Apache-2.0
public void setTransactionManager(TransactionManager transactionManager) { this.transactionManager = transactionManager; }
JTA-based implementation of the {@link AbstractTransactionProcessEngineConfiguration} @author Tom Baeyens
setTransactionManager
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JtaProcessEngineConfiguration.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/JtaProcessEngineConfiguration.java
Apache-2.0
public boolean isDisableExceptionCode() { return disableExceptionCode; }
@return {@code true} if the exception code feature is disabled and vice-versa.
isDisableExceptionCode
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void setDisableExceptionCode(boolean disableExceptionCode) { this.disableExceptionCode = disableExceptionCode; }
Setter to disables the {@link ExceptionCodeInterceptor} and therefore the whole exception code feature.
setDisableExceptionCode
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public boolean isDisableBuiltinExceptionCodeProvider() { return disableBuiltinExceptionCodeProvider; }
@return {@code true} if the built-in exception code provider is disabled and vice-versa.
isDisableBuiltinExceptionCodeProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void setDisableBuiltinExceptionCodeProvider(boolean disableBuiltinExceptionCodeProvider) { this.disableBuiltinExceptionCodeProvider = disableBuiltinExceptionCodeProvider; }
Setter to disables the default implementation of {@link ExceptionCodeProvider} which allows overriding the reserved exception codes > {@link ExceptionCodeInterceptor#MAX_CUSTOM_CODE} or < {@link ExceptionCodeInterceptor#MIN_CUSTOM_CODE}.
setDisableBuiltinExceptionCodeProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public ExceptionCodeProvider getCustomExceptionCodeProvider() { return customExceptionCodeProvider; }
@return a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
getCustomExceptionCodeProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void setCustomExceptionCodeProvider(ExceptionCodeProvider customExceptionCodeProvider) { this.customExceptionCodeProvider = customExceptionCodeProvider; }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
setCustomExceptionCodeProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public ExceptionCodeProvider getBuiltinExceptionCodeProvider() { return builtinExceptionCodeProvider; }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
getBuiltinExceptionCodeProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void setBuiltinExceptionCodeProvider(ExceptionCodeProvider builtinExceptionCodeProvider) { this.builtinExceptionCodeProvider = builtinExceptionCodeProvider; }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
setBuiltinExceptionCodeProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
@Override public ProcessEngine buildProcessEngine() { init(); processEngine = new ProcessEngineImpl(this); invokePostProcessEngineBuild(processEngine); return processEngine; }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
buildProcessEngine
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void init() { invokePreInit(); initDefaultCharset(); initHistoryLevel(); initHistoryEventProducer(); initCmmnHistoryEventProducer(); initDmnHistoryEventProducer(); initHistoryEventHandler(); initExpressionManager(); initBeans(); initArtifactFactory(); initFormEngine...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
init
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void initExceptionCodeProvider() { if (!isDisableBuiltinExceptionCodeProvider()) { builtinExceptionCodeProvider = new ExceptionCodeProvider() {}; } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initExceptionCodeProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initTypeValidator() { if (deserializationTypeValidator == null) { deserializationTypeValidator = new DefaultDeserializationTypeValidator(); } if (deserializationTypeValidator instanceof WhitelistingDeserializationTypeValidator) { WhitelistingDeserializationTypeValidator validator ...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initTypeValidator
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void initHistoryRemovalTime() { initHistoryRemovalTimeProvider(); initHistoryRemovalTimeStrategy(); }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initHistoryRemovalTime
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void initHistoryRemovalTimeStrategy() { if (historyRemovalTimeStrategy == null) { historyRemovalTimeStrategy = HISTORY_REMOVAL_TIME_STRATEGY_END; } if (!HISTORY_REMOVAL_TIME_STRATEGY_START.equals(historyRemovalTimeStrategy) && !HISTORY_REMOVAL_TIME_STRATEGY_END.equals(historyRemovalTimeS...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initHistoryRemovalTimeStrategy
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void initHistoryRemovalTimeProvider() { if (historyRemovalTimeProvider == null) { historyRemovalTimeProvider = new DefaultHistoryRemovalTimeProvider(); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initHistoryRemovalTimeProvider
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void initHistoryCleanup() { initHistoryCleanupStrategy(); //validate number of threads if (historyCleanupDegreeOfParallelism < 1 || historyCleanupDegreeOfParallelism > MAX_THREADS_NUMBER) { throw LOG.invalidPropertyValue("historyCleanupDegreeOfParallelism", String.valueOf(historyCleanupDegreeO...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initHistoryCleanup
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initHistoryCleanupStrategy() { if (historyCleanupStrategy == null) { historyCleanupStrategy = HISTORY_CLEANUP_STRATEGY_REMOVAL_TIME_BASED; } if (!HISTORY_CLEANUP_STRATEGY_REMOVAL_TIME_BASED.equals(historyCleanupStrategy) && !HISTORY_CLEANUP_STRATEGY_END_TIME_BASED.equals(historyC...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initHistoryCleanupStrategy
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
private void initHistoryCleanupBatchWindowsMap() { if (mondayHistoryCleanupBatchWindowStartTime != null || mondayHistoryCleanupBatchWindowEndTime != null) { historyCleanupBatchWindows.put(Calendar.MONDAY, new BatchWindowConfiguration(mondayHistoryCleanupBatchWindowStartTime, mondayHistoryCleanupBatchWindowEnd...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initHistoryCleanupBatchWindowsMap
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initInvocationsPerBatchJobByBatchType() { if (invocationsPerBatchJobByBatchType == null) { invocationsPerBatchJobByBatchType = new HashMap<>(); } else { Set<String> batchTypes = invocationsPerBatchJobByBatchType.keySet(); batchTypes.stream() // batchHandlers contains ...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initInvocationsPerBatchJobByBatchType
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initHistoryTimeToLive() { try { ParseUtil.parseHistoryTimeToLive(historyTimeToLive); } catch (Exception e) { throw LOG.invalidPropertyValue("historyTimeToLive", historyTimeToLive, e); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initHistoryTimeToLive
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initBatchOperationsHistoryTimeToLive() { try { ParseUtil.parseHistoryTimeToLive(batchOperationHistoryTimeToLive); } catch (Exception e) { throw LOG.invalidPropertyValue("batchOperationHistoryTimeToLive", batchOperationHistoryTimeToLive, e); } if (batchOperationsForHistoryClea...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initBatchOperationsHistoryTimeToLive
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
private void initHistoryCleanupBatchWindowEndTime() { try { historyCleanupBatchWindowEndTimeAsDate = HistoryCleanupHelper.parseTimeConfiguration(historyCleanupBatchWindowEndTime); } catch (ParseException e) { throw LOG.invalidPropertyValue("historyCleanupBatchWindowEndTime", historyCleanupBatchWindo...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initHistoryCleanupBatchWindowEndTime
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
private void initHistoryCleanupBatchWindowStartTime() { try { historyCleanupBatchWindowStartTimeAsDate = HistoryCleanupHelper.parseTimeConfiguration(historyCleanupBatchWindowStartTime); } catch (ParseException e) { throw LOG.invalidPropertyValue("historyCleanupBatchWindowStartTime", historyCleanupBa...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initHistoryCleanupBatchWindowStartTime
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initHistoryCleanupJobLogTimeToLive() { try { ParseUtil.parseHistoryTimeToLive(historyCleanupJobLogTimeToLive); } catch (Exception e) { throw LOG.invalidPropertyValue("historyCleanupJobLogTimeToLive", historyCleanupJobLogTimeToLive, e); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initHistoryCleanupJobLogTimeToLive
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initTaskMetricsTimeToLive() { try { parsedTaskMetricsTimeToLive = ParseUtil.parseHistoryTimeToLive(taskMetricsTimeToLive); } catch (Exception e) { throw LOG.invalidPropertyValue("taskMetricsTimeToLive", taskMetricsTimeToLive, e); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initTaskMetricsTimeToLive
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void invokePreInit() { for (ProcessEnginePlugin plugin : processEnginePlugins) { LOG.pluginActivated(plugin.toString(), getProcessEngineName()); plugin.preInit(this); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
invokePreInit
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void invokePostInit() { for (ProcessEnginePlugin plugin : processEnginePlugins) { plugin.postInit(this); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
invokePostInit
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void invokePostProcessEngineBuild(ProcessEngine engine) { for (ProcessEnginePlugin plugin : processEnginePlugins) { plugin.postProcessEngineBuild(engine); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
invokePostProcessEngineBuild
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initFailedJobCommandFactory() { if (failedJobCommandFactory == null) { failedJobCommandFactory = new DefaultFailedJobCommandFactory(); } if (postParseListeners == null) { postParseListeners = new ArrayList<>(); } postParseListeners.add(new DefaultFailedJobParseListener());...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initFailedJobCommandFactory
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initIncidentHandlers() { if (incidentHandlers == null) { incidentHandlers = new HashMap<>(); DefaultIncidentHandler failedJobIncidentHandler = new DefaultIncidentHandler(Incident.FAILED_JOB_HANDLER_TYPE); DefaultIncidentHandler failedExternalTaskIncidentHandler = new DefaultInciden...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initIncidentHandlers
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void initBatchHandlers() { if (batchHandlers == null) { batchHandlers = new HashMap<>(); MigrationBatchJobHandler migrationHandler = new MigrationBatchJobHandler(); batchHandlers.put(migrationHandler.getType(), migrationHandler); ModificationBatchJobHandler modificationHandler = new...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initBatchHandlers
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initCommandExecutors() { initActualCommandExecutor(); initCommandInterceptorsTxRequired(); initCommandExecutorTxRequired(); initCommandInterceptorsTxRequiresNew(); initCommandExecutorTxRequiresNew(); initCommandExecutorDbSchemaOperations(); }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initCommandExecutors
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initActualCommandExecutor() { actualCommandExecutor = new CommandExecutorImpl(); }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initActualCommandExecutor
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initCommandInterceptorsTxRequired() { if (commandInterceptorsTxRequired == null) { if (customPreCommandInterceptorsTxRequired != null) { commandInterceptorsTxRequired = new ArrayList<>(customPreCommandInterceptorsTxRequired); } else { commandInterceptorsTxRequired = new Ar...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initCommandInterceptorsTxRequired
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initCommandInterceptorsTxRequiresNew() { if (commandInterceptorsTxRequiresNew == null) { if (customPreCommandInterceptorsTxRequiresNew != null) { commandInterceptorsTxRequiresNew = new ArrayList<>(customPreCommandInterceptorsTxRequiresNew); } else { commandInterceptorsTxRe...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initCommandInterceptorsTxRequiresNew
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initCommandExecutorTxRequired() { if (commandExecutorTxRequired == null) { commandExecutorTxRequired = initInterceptorChain(commandInterceptorsTxRequired); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initCommandExecutorTxRequired
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initCommandExecutorTxRequiresNew() { if (commandExecutorTxRequiresNew == null) { commandExecutorTxRequiresNew = initInterceptorChain(commandInterceptorsTxRequiresNew); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initCommandExecutorTxRequiresNew
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initCommandExecutorDbSchemaOperations() { if (commandExecutorSchemaOperations == null) { // in default case, we use the same command executor for DB Schema Operations as for runtime operations. // configurations that Use JTA Transactions should override this method and provide a custom co...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initCommandExecutorDbSchemaOperations
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected CommandInterceptor initInterceptorChain(List<CommandInterceptor> chain) { if (chain == null || chain.isEmpty()) { throw new ProcessEngineException("invalid command interceptor chain configuration: " + chain); } for (int i = 0; i < chain.size() - 1; i++) { chain.get(i).setNext(chain.get...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initInterceptorChain
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initServices() { initService(repositoryService); initService(runtimeService); initService(historyService); initService(identityService); initService(taskService); initService(formService); initService(managementService); initService(authorizationService); initService(c...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initServices
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initService(Object service) { if (service instanceof ServiceImpl) { ((ServiceImpl) service).setCommandExecutor(commandExecutorTxRequired); } if (service instanceof RepositoryServiceImpl) { ((RepositoryServiceImpl) service).setDeploymentCharset(getDefaultCharset()); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initService
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initDataSource() { if (dataSource == null) { if (dataSourceJndiName != null) { try { dataSource = (DataSource) new InitialContext().lookup(dataSourceJndiName); } catch (Exception e) { throw new ProcessEngineException("couldn't lookup datasource from " + dataS...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initDataSource
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void checkTransactionIsolationLevel() { Integer currentIsolationLevel = getCurrentTransactionIsolationLevel(); if (currentIsolationLevel != null && currentIsolationLevel != Connection.TRANSACTION_READ_COMMITTED) { String isolationLevelName = ISOLATION_LEVEL_CONSTANT_NAMES.get(currentIsolationLev...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
checkTransactionIsolationLevel
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected Integer getCurrentTransactionIsolationLevel() { try (Connection connection = dataSource.getConnection()) { return connection.getTransactionIsolation(); } catch (SQLException e) { return null; } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
getCurrentTransactionIsolationLevel
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected static Properties getDefaultDatabaseTypeMappings() { Properties databaseTypeMappings = new Properties(); databaseTypeMappings.setProperty("H2", "h2"); databaseTypeMappings.setProperty(MY_SQL_PRODUCT_NAME, "mysql"); databaseTypeMappings.setProperty("Oracle", "oracle"); databaseTypeMappings....
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
getDefaultDatabaseTypeMappings
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public void initDatabaseType() { Connection connection = null; try { connection = dataSource.getConnection(); DatabaseMetaData databaseMetaData = connection.getMetaData(); String databaseProductName = databaseMetaData.getDatabaseProductName(); LOG.debugDatabaseproductName(databaseProduc...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initDatabaseType
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initDatabaseVendorAndVersion(DatabaseMetaData databaseMetaData) throws SQLException { databaseVendor = databaseMetaData.getDatabaseProductName(); databaseVersion = databaseMetaData.getDatabaseProductVersion(); }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initDatabaseVendorAndVersion
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initTransactionFactory() { if (transactionFactory == null) { if (transactionsExternallyManaged) { transactionFactory = new ManagedTransactionFactory(); } else { transactionFactory = new JdbcTransactionFactory(); } } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initTransactionFactory
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initSqlSessionFactory() { // to protect access to cachedSqlSessionFactory see CAM-6682 synchronized (ProcessEngineConfigurationImpl.class) { if (isUseSharedSqlSessionFactory) { sqlSessionFactory = cachedSqlSessionFactory; } if (sqlSessionFactory == null) { Inp...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initSqlSessionFactory
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
public static void initSqlSessionFactoryProperties(Properties properties, String databaseTablePrefix, String databaseType) { if (databaseType != null) { properties.put("limitBefore", DbSqlSessionFactory.databaseSpecificLimitBeforeStatements.get(databaseType)); properties.put("limitAfter", DbSqlSessionF...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initSqlSessionFactoryProperties
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected InputStream getMyBatisXmlConfigurationSteam() { return ReflectUtil.getResourceAsStream(DEFAULT_MYBATIS_MAPPING_FILE); }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
getMyBatisXmlConfigurationSteam
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initIdentityProviderSessionFactory() { if (identityProviderSessionFactory == null) { identityProviderSessionFactory = new GenericManagerFactory(DbIdentityServiceProvider.class); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initIdentityProviderSessionFactory
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initSessionFactories() { if (sessionFactories == null) { sessionFactories = new HashMap<>(); initPersistenceProviders(); addSessionFactory(new DbEntityManagerFactory(idGenerator)); addSessionFactory(new GenericManagerFactory(AttachmentManager.class)); addSessionFactor...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initSessionFactories
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initPersistenceProviders() { ensurePrefixAndSchemaFitToegether(databaseTablePrefix, databaseSchema); dbSqlSessionFactory = new DbSqlSessionFactory(jdbcBatchProcessing); dbSqlSessionFactory.setDatabaseType(databaseType); dbSqlSessionFactory.setIdGenerator(idGenerator); dbSqlSessionFact...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initPersistenceProviders
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initMigration() { initMigrationInstructionValidators(); initMigrationActivityMatcher(); initMigrationInstructionGenerator(); initMigratingActivityInstanceValidators(); initMigratingTransitionInstanceValidators(); initMigratingCompensationInstanceValidators(); }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initMigration
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initMigrationActivityMatcher() { if (migrationActivityMatcher == null) { migrationActivityMatcher = new DefaultMigrationActivityMatcher(); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initMigrationActivityMatcher
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initMigrationInstructionGenerator() { if (migrationInstructionGenerator == null) { migrationInstructionGenerator = new DefaultMigrationInstructionGenerator(migrationActivityMatcher); } List<MigrationActivityValidator> migrationActivityValidators = new ArrayList<>(); if (customPreMi...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initMigrationInstructionGenerator
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initMigrationInstructionValidators() { if (migrationInstructionValidators == null) { migrationInstructionValidators = new ArrayList<>(); if (customPreMigrationInstructionValidators != null) { migrationInstructionValidators.addAll(customPreMigrationInstructionValidators); } ...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initMigrationInstructionValidators
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initMigratingActivityInstanceValidators() { if (migratingActivityInstanceValidators == null) { migratingActivityInstanceValidators = new ArrayList<>(); if (customPreMigratingActivityInstanceValidators != null) { migratingActivityInstanceValidators.addAll(customPreMigratingActivity...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initMigratingActivityInstanceValidators
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initMigratingTransitionInstanceValidators() { if (migratingTransitionInstanceValidators == null) { migratingTransitionInstanceValidators = new ArrayList<>(); migratingTransitionInstanceValidators.addAll(getDefaultMigratingTransitionInstanceValidators()); } }
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initMigratingTransitionInstanceValidators
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void initMigratingCompensationInstanceValidators() { if (migratingCompensationInstanceValidators == null) { migratingCompensationInstanceValidators = new ArrayList<>(); migratingCompensationInstanceValidators.add(new NoUnmappedLeafInstanceValidator()); migratingCompensationInstanceValid...
Setter to register a custom implementation of a {@link ExceptionCodeProvider} allowing to provide custom error codes.
initMigratingCompensationInstanceValidators
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0
protected void ensurePrefixAndSchemaFitToegether(String prefix, String schema) { if (schema == null) { return; } else if (prefix == null || (prefix != null && !prefix.startsWith(schema + "."))) { throw new ProcessEngineException("When setting a schema the prefix has to be schema + '.'. Received sche...
When providing a schema and a prefix the prefix has to be the schema ending with a dot.
ensurePrefixAndSchemaFitToegether
java
camunda/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/ProcessEngineConfigurationImpl.java
Apache-2.0