Class VespaReindexAction
java.lang.Object
com.yahoo.vespa.model.application.validation.change.VespaConfigChangeAction
com.yahoo.vespa.model.application.validation.change.VespaReindexAction
- All Implemented Interfaces:
com.yahoo.config.model.api.ConfigChangeAction,com.yahoo.config.model.api.ConfigChangeReindexAction
public class VespaReindexAction
extends VespaConfigChangeAction
implements com.yahoo.config.model.api.ConfigChangeReindexAction
Represents an action to re-index a document type in order to handle a config change.
- Author:
- bjorncs
-
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 VespaReindexActionof(com.yahoo.config.provision.ClusterSpec.Id id, com.yahoo.config.application.api.ValidationId validationId, String message) static VespaReindexActionof(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) toString()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.ConfigChangeReindexAction
getType, name
-
Method Details
-
of
public static VespaReindexAction of(com.yahoo.config.provision.ClusterSpec.Id id, com.yahoo.config.application.api.ValidationId validationId, String message) -
of
public static VespaReindexAction 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) -
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.ConfigChangeReindexAction
-
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
-