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
-
-
Constructor Summary
Constructors Constructor Description VespaRestartAction(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
boolean
ignoreForInternalRedeploy()
VespaConfigChangeAction
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
-
-
-
-
Constructor Detail
-
VespaRestartAction
public VespaRestartAction(com.yahoo.config.provision.ClusterSpec.Id id, String message)
-
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)
-
-
Method Detail
-
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
public boolean equals(Object o)
- Overrides:
equals
in classVespaConfigChangeAction
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classVespaConfigChangeAction
-
-