Class GetTOMLConfigurationCommand
- java.lang.Object
-
- fish.payara.nucleus.microprofile.config.source.extension.BaseGetConfigSourceConfigurationCommand<TOMLConfigSourceConfiguration>
-
- fish.payara.microprofile.config.extensions.toml.admin.GetTOMLConfigurationCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="get-toml-config-source-configuration") @PerLookup @CommandLock(NONE) @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CLUSTERED_INSTANCE,CONFIG,DEPLOYMENT_GROUP}) public class GetTOMLConfigurationCommand extends BaseGetConfigSourceConfigurationCommand<TOMLConfigSourceConfiguration>
asAdmin command to the get 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.BaseGetConfigSourceConfigurationCommand
habitat
-
-
Constructor Summary
Constructors Constructor Description GetTOMLConfigurationCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>getConfigSourceConfiguration(TOMLConfigSourceConfiguration configuration)-
Methods inherited from class fish.payara.nucleus.microprofile.config.source.extension.BaseGetConfigSourceConfigurationCommand
execute, getConfigSourceProperties, listConfiguration
-
-
-
-
Method Detail
-
getConfigSourceConfiguration
protected Map<String,Object> getConfigSourceConfiguration(TOMLConfigSourceConfiguration configuration)
- Overrides:
getConfigSourceConfigurationin classBaseGetConfigSourceConfigurationCommand<TOMLConfigSourceConfiguration>- Parameters:
configuration- the configuration to get properties from- Returns:
- a map from user readable attribute names to their values
-
-