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
ConstructorsConstructorDescriptionVespaRestartAction(com.yahoo.config.provision.ClusterSpec.Id id, String message) This does not trigger restarts; you need theServiceInfo!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 TypeMethodDescriptionbooleaninthashCode()booleanmodifyAction(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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.yahoo.config.model.api.ConfigChangeAction
clusterId, getMessage, getServices, validationIdMethods inherited from interface com.yahoo.config.model.api.ConfigChangeRestartAction
getType
-
Constructor Details
-
VespaRestartAction
This does not trigger restarts; you need theServiceInfo! -
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:
modifyActionin classVespaConfigChangeAction
-
ignoreForInternalRedeploy
public boolean ignoreForInternalRedeploy()- Specified by:
ignoreForInternalRedeployin interfacecom.yahoo.config.model.api.ConfigChangeAction
-
equals
- Overrides:
equalsin classVespaConfigChangeAction
-
hashCode
public int hashCode()- Overrides:
hashCodein classVespaConfigChangeAction
-