Class VespaConfigChangeAction
java.lang.Object
com.yahoo.vespa.model.application.validation.change.VespaConfigChangeAction
- All Implemented Interfaces:
com.yahoo.config.model.api.ConfigChangeAction
- Direct Known Subclasses:
VespaRefeedAction,VespaReindexAction,VespaRestartAction
public abstract class VespaConfigChangeAction
extends Object
implements com.yahoo.config.model.api.ConfigChangeAction
Class containing the action to be performed on the given services to handle a config change
between the current active vespa model and the next vespa model to prepare.
- Author:
- geirst
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.yahoo.config.model.api.ConfigChangeAction
com.yahoo.config.model.api.ConfigChangeAction.Type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVespaConfigChangeAction(com.yahoo.config.provision.ClusterSpec.Id id, String message, List<com.yahoo.config.model.api.ServiceInfo> services) -
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.config.provision.ClusterSpec.IdbooleanList<com.yahoo.config.model.api.ServiceInfo>inthashCode()abstract VespaConfigChangeActionmodifyAction(String newMessage, List<com.yahoo.config.model.api.ServiceInfo> newServices, String documentType) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.yahoo.config.model.api.ConfigChangeAction
getType, ignoreForInternalRedeploy, validationId
-
Constructor Details
-
VespaConfigChangeAction
-
-
Method Details
-
modifyAction
public abstract VespaConfigChangeAction modifyAction(String newMessage, List<com.yahoo.config.model.api.ServiceInfo> newServices, String documentType) -
clusterId
public com.yahoo.config.provision.ClusterSpec.Id clusterId()- Specified by:
clusterIdin interfacecom.yahoo.config.model.api.ConfigChangeAction
-
getMessage
- Specified by:
getMessagein interfacecom.yahoo.config.model.api.ConfigChangeAction
-
getServices
- Specified by:
getServicesin interfacecom.yahoo.config.model.api.ConfigChangeAction
-
toString
-
equals
-
hashCode
public int hashCode()
-