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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.yahoo.config.model.api.ConfigChangeAction
com.yahoo.config.model.api.ConfigChangeAction.Type
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
modifyAction
(String newMessage, List<com.yahoo.config.model.api.ServiceInfo> newServices, String documentType) 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 informationstatic 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 actiontoString()
Optional<com.yahoo.config.application.api.ValidationId>
Methods inherited from class com.yahoo.vespa.model.application.validation.change.VespaConfigChangeAction
clusterId, getMessage, getServices
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
clusterId, getMessage, getServices
Methods inherited from interface com.yahoo.config.model.api.ConfigChangeRefeedAction
getType, name
-
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 classVespaConfigChangeAction
-
validationId
- Specified by:
validationId
in interfacecom.yahoo.config.model.api.ConfigChangeAction
-
getDocumentType
- Specified by:
getDocumentType
in interfacecom.yahoo.config.model.api.ConfigChangeRefeedAction
-
ignoreForInternalRedeploy
public boolean ignoreForInternalRedeploy()- Specified by:
ignoreForInternalRedeploy
in interfacecom.yahoo.config.model.api.ConfigChangeAction
-
toString
- Overrides:
toString
in classVespaConfigChangeAction
-
equals
- Overrides:
equals
in classVespaConfigChangeAction
-
hashCode
public int hashCode()- Overrides:
hashCode
in classVespaConfigChangeAction
-