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.CommandExecutor
protected final String
protected final SystemConfigurationConfigurer
protected String
protected 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 ConfigurationProperty
createConfiguration
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) execute
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) save()
Save the configuration.protected ConfigurationPropertyEntity
updateConfiguration
(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:
nodeName
in interfaceSystemConfigurationBuilder
- Parameters:
nodeName
- the name of the node that the configuration will belong to
-
value
- Specified by:
value
in interfaceSystemConfigurationBuilder
- Parameters:
value
- the value of the configuration
-
save
Description copied from interface:SystemConfigurationBuilder
Save the configuration. It would either create a new one (if none exists for the given node) or update an existing one.- Specified by:
save
in interfaceSystemConfigurationBuilder
-
execute
public SystemConfiguration execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) - Specified by:
execute
in 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)
-