Class VespaRefeedAction

java.lang.Object
com.yahoo.vespa.model.application.validation.change.VespaConfigChangeAction
com.yahoo.vespa.model.application.validation.change.VespaRefeedAction
All Implemented Interfaces:
com.yahoo.config.model.api.ConfigChangeAction, com.yahoo.config.model.api.ConfigChangeRefeedAction

public class VespaRefeedAction extends VespaConfigChangeAction implements com.yahoo.config.model.api.ConfigChangeRefeedAction
Represents an action to re-feed a document type in order to handle a config change.
Author:
geirst, bratseth
  • Method Details

    • of

      public static VespaRefeedAction of(com.yahoo.config.provision.ClusterSpec.Id id, com.yahoo.config.application.api.ValidationId validationId, String message)
      Creates a refeed action with some missing information
    • of

      public static VespaRefeedAction of(com.yahoo.config.provision.ClusterSpec.Id id, com.yahoo.config.application.api.ValidationId validationId, String message, List<com.yahoo.config.model.api.ServiceInfo> services, String documentType)
      Creates a refeed action
    • modifyAction

      public VespaConfigChangeAction modifyAction(String newMessage, List<com.yahoo.config.model.api.ServiceInfo> newServices, String documentType)
      Specified by:
      modifyAction in class VespaConfigChangeAction
    • validationId

      public Optional<com.yahoo.config.application.api.ValidationId> validationId()
      Specified by:
      validationId in interface com.yahoo.config.model.api.ConfigChangeAction
    • getDocumentType

      public String getDocumentType()
      Specified by:
      getDocumentType in interface com.yahoo.config.model.api.ConfigChangeRefeedAction
    • ignoreForInternalRedeploy

      public boolean ignoreForInternalRedeploy()
      Specified by:
      ignoreForInternalRedeploy in interface com.yahoo.config.model.api.ConfigChangeAction
    • toString

      public String toString()
      Overrides:
      toString in class VespaConfigChangeAction
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class VespaConfigChangeAction
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VespaConfigChangeAction