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
FieldsModifier and TypeFieldDescriptionprotected final CommandExecutorprotected final Stringprotected final SystemConfigurationConfigurerprotected Stringprotected com.fasterxml.jackson.databind.node.ObjectNode -
Constructor Summary
ConstructorsConstructorDescriptionSystemConfigurationBuilderImpl(CommandExecutor commandExecutor, SystemConfigurationConfigurer configurer, String configurationId) -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationPropertycreateConfiguration(CommandContext commandContext) execute(CommandContext commandContext) save()Save the configuration.protected ConfigurationPropertyEntityupdateConfiguration(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:
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
- Specified by:
executein interfaceCommand<SystemConfiguration>
-
updateConfiguration
-
createConfiguration
-