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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getDocumentType()
int
hashCode()
boolean
ignoreForInternalRedeploy()
VespaConfigChangeAction
modifyAction(String newMessage, List<com.yahoo.config.model.api.ServiceInfo> newServices, String documentType)
static VespaReindexAction
of(com.yahoo.config.provision.ClusterSpec.Id id, com.yahoo.config.application.api.ValidationId validationId, String message)
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)
String
toString()
Optional<com.yahoo.config.application.api.ValidationId>
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
-
-
-
-
Method Detail
-
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:
modifyAction
in classVespaConfigChangeAction
-
validationId
public Optional<com.yahoo.config.application.api.ValidationId> validationId()
- Specified by:
validationId
in interfacecom.yahoo.config.model.api.ConfigChangeAction
-
getDocumentType
public String getDocumentType()
- Specified by:
getDocumentType
in interfacecom.yahoo.config.model.api.ConfigChangeReindexAction
-
ignoreForInternalRedeploy
public boolean ignoreForInternalRedeploy()
- Specified by:
ignoreForInternalRedeploy
in interfacecom.yahoo.config.model.api.ConfigChangeAction
-
toString
public String toString()
- Overrides:
toString
in classVespaConfigChangeAction
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classVespaConfigChangeAction
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classVespaConfigChangeAction
-
-