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.
    Since:
    5.43
    Author:
    geirst, bratseth
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.yahoo.config.model.api.ConfigChangeAction

        com.yahoo.config.model.api.ConfigChangeAction.Type
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean allowed()  
      boolean equals​(java.lang.Object o)  
      java.lang.String getDocumentType()  
      int hashCode()  
      VespaConfigChangeAction modifyAction​(java.lang.String newMessage, java.util.List<com.yahoo.config.model.api.ServiceInfo> newServices, java.lang.String documentType)  
      java.lang.String name()  
      static VespaRefeedAction of​(java.lang.String name, com.yahoo.config.application.api.ValidationOverrides overrides, java.lang.String message, java.time.Instant now)
      Creates a refeed action with some missing information
      static VespaRefeedAction of​(java.lang.String name, com.yahoo.config.application.api.ValidationOverrides overrides, java.lang.String message, java.util.List<com.yahoo.config.model.api.ServiceInfo> services, java.lang.String documentType, java.time.Instant now)
      Creates a refeed action
      java.lang.String 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

        getMessage, getServices
      • Methods inherited from interface com.yahoo.config.model.api.ConfigChangeRefeedAction

        getType
    • Method Detail

      • of

        public static VespaRefeedAction of​(java.lang.String name,
                                           com.yahoo.config.application.api.ValidationOverrides overrides,
                                           java.lang.String message,
                                           java.time.Instant now)
        Creates a refeed action with some missing information
      • of

        public static VespaRefeedAction of​(java.lang.String name,
                                           com.yahoo.config.application.api.ValidationOverrides overrides,
                                           java.lang.String message,
                                           java.util.List<com.yahoo.config.model.api.ServiceInfo> services,
                                           java.lang.String documentType,
                                           java.time.Instant now)
        Creates a refeed action
      • name

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

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

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