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
ModifierConstructorDescriptionprotected
VespaConfigChangeAction
(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.Id
boolean
List<com.yahoo.config.model.api.ServiceInfo>
int
hashCode()
abstract VespaConfigChangeAction
modifyAction
(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, wait
Methods 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:
clusterId
in interfacecom.yahoo.config.model.api.ConfigChangeAction
-
getMessage
- Specified by:
getMessage
in interfacecom.yahoo.config.model.api.ConfigChangeAction
-
getServices
- Specified by:
getServices
in interfacecom.yahoo.config.model.api.ConfigChangeAction
-
toString
-
equals
-
hashCode
public int hashCode()
-