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

    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

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    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

      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)
    • VespaRestartAction

      public VespaRestartAction(com.yahoo.config.provision.ClusterSpec.Id id, String message, List<com.yahoo.config.model.api.ServiceInfo> services)
  • Method Details