Class SetTOMLConfigurationCommand
- java.lang.Object
-
- fish.payara.nucleus.microprofile.config.source.extension.BaseSetConfigSourceConfigurationCommand<TOMLConfigSourceConfiguration>
-
- fish.payara.microprofile.config.extensions.toml.admin.SetTOMLConfigurationCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="set-toml-config-source-configuration") @PerLookup @CommandLock(NONE) @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG,DEPLOYMENT_GROUP}) public class SetTOMLConfigurationCommand extends BaseSetConfigSourceConfigurationCommand<TOMLConfigSourceConfiguration>
asAdmin command to the set the configuration for the TOML Config Source- Since:
- 6.2024.11
- Author:
- Kalin Chan (Payara Foundation)
-
-
Field Summary
-
Fields inherited from class fish.payara.nucleus.microprofile.config.source.extension.BaseSetConfigSourceConfigurationCommand
dynamic, enabled, logger, server, target, targetUtil
-
-
Constructor Summary
Constructors Constructor Description SetTOMLConfigurationCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyValues(ActionReport report, TOMLConfigSourceConfiguration configuration)Configure the configuration ConfigBeanProxy from the @Param injected class fields.-
Methods inherited from class fish.payara.nucleus.microprofile.config.source.extension.BaseSetConfigSourceConfigurationCommand
configureDynamically, execute
-
-
-
-
Method Detail
-
applyValues
protected void applyValues(ActionReport report, TOMLConfigSourceConfiguration configuration) throws PropertyVetoException
Description copied from class:BaseSetConfigSourceConfigurationCommandConfigure the configuration ConfigBeanProxy from the @Param injected class fields.- Overrides:
applyValuesin classBaseSetConfigSourceConfigurationCommand<TOMLConfigSourceConfiguration>configuration- the ConfigBeanProxy to configure- Throws:
PropertyVetoException- an exception thrown if the property doesn't pass the configured validation.
-
-