Class SystemConfigurationBuilderImpl
java.lang.Object
com.flowable.platform.engine.impl.configuration.system.SystemConfigurationBuilderImpl
- All Implemented Interfaces:
SystemConfigurationBuilder
,Command<SystemConfiguration>
public class SystemConfigurationBuilderImpl
extends Object
implements SystemConfigurationBuilder, Command<SystemConfiguration>
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CommandExecutor
protected final String
protected final SystemConfigurationConfigurer
protected String
protected com.fasterxml.jackson.databind.node.ObjectNode
-
Constructor Summary
ConstructorDescriptionSystemConfigurationBuilderImpl
(CommandExecutor commandExecutor, SystemConfigurationConfigurer configurer, String configurationId) -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationProperty
createConfiguration
(CommandContext commandContext) execute
(CommandContext commandContext) save()
Save the configuration.protected ConfigurationPropertyEntity
updateConfiguration
(CommandContext commandContext) value
(com.fasterxml.jackson.databind.node.ObjectNode value)
-
Field Details
-
commandExecutor
-
configurer
-
configurationId
-
nodeName
-
value
protected com.fasterxml.jackson.databind.node.ObjectNode value
-
-
Constructor Details
-
SystemConfigurationBuilderImpl
public SystemConfigurationBuilderImpl(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
- Specified by:
execute
in interfaceCommand<SystemConfiguration>
-
updateConfiguration
-
createConfiguration
-