Class VespaRestartAction
java.lang.Object
com.yahoo.vespa.model.application.validation.change.VespaConfigChangeAction
com.yahoo.vespa.model.application.validation.change.VespaRestartAction
- All Implemented Interfaces:
com.yahoo.config.model.api.ConfigChangeAction
,com.yahoo.config.model.api.ConfigChangeRestartAction
public class VespaRestartAction
extends VespaConfigChangeAction
implements com.yahoo.config.model.api.ConfigChangeRestartAction
Represents an action to restart services in order to handle a config change.
- 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
ConstructorDescriptionVespaRestartAction
(com.yahoo.config.provision.ClusterSpec.Id id, String message) VespaRestartAction
(com.yahoo.config.provision.ClusterSpec.Id id, String message, com.yahoo.config.model.api.ServiceInfo service) VespaRestartAction
(com.yahoo.config.provision.ClusterSpec.Id id, String message, com.yahoo.config.model.api.ServiceInfo services, boolean ignoreForInternalRedeploy) VespaRestartAction
(com.yahoo.config.provision.ClusterSpec.Id id, String message, List<com.yahoo.config.model.api.ServiceInfo> services) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
modifyAction
(String newMessage, List<com.yahoo.config.model.api.ServiceInfo> newServices, String documentType) Methods inherited from class com.yahoo.vespa.model.application.validation.change.VespaConfigChangeAction
clusterId, getMessage, getServices, 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
clusterId, getMessage, getServices, validationId
Methods inherited from interface com.yahoo.config.model.api.ConfigChangeRestartAction
getType
-
Constructor Details
-
VespaRestartAction
-
VespaRestartAction
public VespaRestartAction(com.yahoo.config.provision.ClusterSpec.Id id, String message, com.yahoo.config.model.api.ServiceInfo service) -
VespaRestartAction
public VespaRestartAction(com.yahoo.config.provision.ClusterSpec.Id id, String message, com.yahoo.config.model.api.ServiceInfo services, boolean ignoreForInternalRedeploy) -
VespaRestartAction
-
-
Method Details
-
modifyAction
public VespaConfigChangeAction modifyAction(String newMessage, List<com.yahoo.config.model.api.ServiceInfo> newServices, String documentType) - Specified by:
modifyAction
in classVespaConfigChangeAction
-
ignoreForInternalRedeploy
public boolean ignoreForInternalRedeploy()- Specified by:
ignoreForInternalRedeploy
in interfacecom.yahoo.config.model.api.ConfigChangeAction
-
equals
- Overrides:
equals
in classVespaConfigChangeAction
-
hashCode
public int hashCode()- Overrides:
hashCode
in classVespaConfigChangeAction
-