Class BaseSetConfigSourceConfigurationCommand<C extends ConfigSourceConfiguration>

    • Constructor Detail

      • BaseSetConfigSourceConfigurationCommand

        public BaseSetConfigSourceConfigurationCommand()
    • Method Detail

      • execute

        public void execute​(AdminCommandContext context)
        Description copied from interface: AdminCommand
        Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
        Specified by:
        execute in interface AdminCommand
        Parameters:
        context - information
      • applyValues

        protected void applyValues​(ActionReport report,
                                   C configuration)
                            throws PropertyVetoException
        Configure the configuration ConfigBeanProxy from the @Param injected class fields.
        Parameters:
        configuration - the ConfigBeanProxy to configure
        Throws:
        PropertyVetoException - an exception thrown if the property doesn't pass the configured validation.
      • configureDynamically

        protected void configureDynamically​(C configuration)
        Called after static configuration if the dynamic field is enabled and this instance is the one selected.