Class VespaConfigChangeAction
- java.lang.Object
-
- com.yahoo.vespa.model.application.validation.change.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
-
-
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()
-
-
-
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 interfacecom.yahoo.config.model.api.ConfigChangeAction
-
getServices
public java.util.List<com.yahoo.config.model.api.ServiceInfo> getServices()
- Specified by:
getServices
in interfacecom.yahoo.config.model.api.ConfigChangeAction
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-