Class StartupCommandChangeValidator
java.lang.Object
com.yahoo.vespa.model.application.validation.change.StartupCommandChangeValidator
- All Implemented Interfaces:
ChangeValidator
Compares the startup command for the services in the next model with the ones in the current model.
If the startup command has changes, a change entry is created and reported back.
- Author:
- bjorncs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStream<com.yahoo.config.model.api.ConfigChangeAction>
findServicesWithChangedStartupCommand
(AbstractConfigProducerRoot currentModel, AbstractConfigProducerRoot nextModel) void
validate
(Validation.ChangeContext context) Validates changes from the previous to the next model.
-
Constructor Details
-
StartupCommandChangeValidator
public StartupCommandChangeValidator()
-
-
Method Details
-
validate
Description copied from interface:ChangeValidator
Validates changes from the previous to the next model. Necessary actions by the user should be reported through the context; seeValidator
for more details.- Specified by:
validate
in interfaceChangeValidator
-
findServicesWithChangedStartupCommand
public Stream<com.yahoo.config.model.api.ConfigChangeAction> findServicesWithChangedStartupCommand(AbstractConfigProducerRoot currentModel, AbstractConfigProducerRoot nextModel)
-