Class VespaConfigChangeAction

  • All Implemented Interfaces:
    com.yahoo.config.model.api.ConfigChangeAction
    Direct Known Subclasses:
    VespaRefeedAction, VespaRestartAction

    public abstract class VespaConfigChangeAction
    extends java.lang.Object
    implements com.yahoo.config.model.api.ConfigChangeAction
    Class containing the action to be performed on the given services to handle a config change between the current active vespa model and the next vespa model to prepare.
    Since:
    2014-11-18
    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 
      Modifier Constructor Description
      protected VespaConfigChangeAction​(java.lang.String message, java.util.List<com.yahoo.config.model.api.ServiceInfo> services)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getMessage()  
      java.util.List<com.yahoo.config.model.api.ServiceInfo> getServices()  
      int hashCode()  
      abstract VespaConfigChangeAction modifyAction​(java.lang.String newMessage, java.util.List<com.yahoo.config.model.api.ServiceInfo> newServices, java.lang.String documentType)  
      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

        allowed, getType
    • Constructor Detail

      • VespaConfigChangeAction

        protected VespaConfigChangeAction​(java.lang.String message,
                                          java.util.List<com.yahoo.config.model.api.ServiceInfo> services)
    • Method Detail

      • modifyAction

        public abstract VespaConfigChangeAction modifyAction​(java.lang.String newMessage,
                                                             java.util.List<com.yahoo.config.model.api.ServiceInfo> newServices,
                                                             java.lang.String documentType)
      • getMessage

        public java.lang.String getMessage()
        Specified by:
        getMessage in interface com.yahoo.config.model.api.ConfigChangeAction
      • getServices

        public java.util.List<com.yahoo.config.model.api.ServiceInfo> getServices()
        Specified by:
        getServices in interface com.yahoo.config.model.api.ConfigChangeAction
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object