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 TypeMethodDescriptionbooleaninthashCode()booleanmodifyAction(String newMessage, List<com.yahoo.config.model.api.ServiceInfo> newServices, String documentType) static VespaRefeedActionof(com.yahoo.config.provision.ClusterSpec.Id id, com.yahoo.config.application.api.ValidationId validationId, String message) Creates a refeed action with some missing informationstatic VespaRefeedActionof(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, getServicesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.yahoo.config.model.api.ConfigChangeAction
clusterId, getMessage, getServicesMethods 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:
modifyActionin classVespaConfigChangeAction
-
validationId
- Specified by:
validationIdin interfacecom.yahoo.config.model.api.ConfigChangeAction
-
getDocumentType
- Specified by:
getDocumentTypein interfacecom.yahoo.config.model.api.ConfigChangeRefeedAction
-
ignoreForInternalRedeploy
public boolean ignoreForInternalRedeploy()- Specified by:
ignoreForInternalRedeployin interfacecom.yahoo.config.model.api.ConfigChangeAction
-
toString
- Overrides:
toStringin classVespaConfigChangeAction
-
equals
- Overrides:
equalsin classVespaConfigChangeAction
-
hashCode
public int hashCode()- Overrides:
hashCodein classVespaConfigChangeAction
-