Class SystemConfigurationBuilderImpl
java.lang.Object
com.flowable.platform.engine.impl.configuration.system.SystemConfigurationBuilderImpl
- All Implemented Interfaces:
SystemConfigurationBuilder,org.flowable.common.engine.impl.interceptor.Command<SystemConfiguration>
public class SystemConfigurationBuilderImpl
extends Object
implements SystemConfigurationBuilder, org.flowable.common.engine.impl.interceptor.Command<SystemConfiguration>
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.flowable.common.engine.impl.interceptor.CommandExecutorprotected final Stringprotected final SystemConfigurationConfigurerprotected Stringprotected com.fasterxml.jackson.databind.node.ObjectNode -
Constructor Summary
ConstructorsConstructorDescriptionSystemConfigurationBuilderImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor, SystemConfigurationConfigurer configurer, String configurationId) -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationPropertycreateConfiguration(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) save()Save the configuration.protected ConfigurationPropertyEntityupdateConfiguration(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) value(com.fasterxml.jackson.databind.node.ObjectNode value)
-
Field Details
-
commandExecutor
protected final org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor -
configurer
-
configurationId
-
nodeName
-
value
protected com.fasterxml.jackson.databind.node.ObjectNode value
-
-
Constructor Details
-
SystemConfigurationBuilderImpl
public SystemConfigurationBuilderImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor, SystemConfigurationConfigurer configurer, String configurationId)
-
-
Method Details
-
nodeName
- Specified by:
nodeNamein interfaceSystemConfigurationBuilder- Parameters:
nodeName- the name of the node that the configuration will belong to
-
value
- Specified by:
valuein interfaceSystemConfigurationBuilder- Parameters:
value- the value of the configuration
-
save
Description copied from interface:SystemConfigurationBuilderSave the configuration. It would either create a new one (if none exists for the given node) or update an existing one.- Specified by:
savein interfaceSystemConfigurationBuilder
-
execute
public SystemConfiguration execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
executein interfaceorg.flowable.common.engine.impl.interceptor.Command<SystemConfiguration>
-
updateConfiguration
protected ConfigurationPropertyEntity updateConfiguration(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
createConfiguration
protected ConfigurationProperty createConfiguration(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-