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(java.lang.String message)
VespaRestartAction(java.lang.String message, com.yahoo.config.model.api.ServiceInfo service)
VespaRestartAction(java.lang.String message, java.util.List<com.yahoo.config.model.api.ServiceInfo> services)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VespaConfigChangeAction
modifyAction(java.lang.String newMessage, java.util.List<com.yahoo.config.model.api.ServiceInfo> newServices, java.lang.String documentType)
-
Methods inherited from class com.yahoo.vespa.model.application.validation.change.VespaConfigChangeAction
equals, getMessage, getServices, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
VespaRestartAction
public VespaRestartAction(java.lang.String message)
-
VespaRestartAction
public VespaRestartAction(java.lang.String message, com.yahoo.config.model.api.ServiceInfo service)
-
VespaRestartAction
public VespaRestartAction(java.lang.String message, java.util.List<com.yahoo.config.model.api.ServiceInfo> services)
-
-
Method Detail
-
modifyAction
public VespaConfigChangeAction modifyAction(java.lang.String newMessage, java.util.List<com.yahoo.config.model.api.ServiceInfo> newServices, java.lang.String documentType)
- Specified by:
modifyAction
in classVespaConfigChangeAction
-
-