Package com.yahoo.config.model.api
Interface ConfigChangeAction
- All Known Subinterfaces:
ConfigChangeRefeedAction
,ConfigChangeReindexAction
,ConfigChangeRestartAction
public interface ConfigChangeAction
Contains the action to be performed on the given services to handle a config change
between the current active model and the next model to prepare.
- Author:
- geirst
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.config.provision.ClusterSpec.Id
The id of the cluster that needs this action appliedReturns a message describing the config change in detailReturns the list of services where the action must be performedgetType()
Returns what type of action is required to handle this config changedefault boolean
Returns whether this change should be ignored for internal redeploydefault Optional<ValidationId>
When this is non-empty, validation may fail unless this validation id is allowed by validation overrides.
-
Method Details
-
getType
ConfigChangeAction.Type getType()Returns what type of action is required to handle this config change -
getMessage
String getMessage()Returns a message describing the config change in detail -
getServices
List<ServiceInfo> getServices()Returns the list of services where the action must be performed -
validationId
When this is non-empty, validation may fail unless this validation id is allowed by validation overrides. -
clusterId
com.yahoo.config.provision.ClusterSpec.Id clusterId()The id of the cluster that needs this action applied -
ignoreForInternalRedeploy
default boolean ignoreForInternalRedeploy()Returns whether this change should be ignored for internal redeploy
-