Class 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 Detail

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