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.- Since:
- 5.43
- Author:
- geirst, bratseth
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowed()
boolean
equals(java.lang.Object o)
java.lang.String
getDocumentType()
int
hashCode()
VespaConfigChangeAction
modifyAction(java.lang.String newMessage, java.util.List<com.yahoo.config.model.api.ServiceInfo> newServices, java.lang.String documentType)
java.lang.String
name()
static VespaRefeedAction
of(java.lang.String name, com.yahoo.config.application.api.ValidationOverrides overrides, java.lang.String message, java.time.Instant now)
Creates a refeed action with some missing informationstatic VespaRefeedAction
of(java.lang.String name, com.yahoo.config.application.api.ValidationOverrides overrides, java.lang.String message, java.util.List<com.yahoo.config.model.api.ServiceInfo> services, java.lang.String documentType, java.time.Instant now)
Creates a refeed actionjava.lang.String
toString()
-
Methods inherited from class com.yahoo.vespa.model.application.validation.change.VespaConfigChangeAction
getMessage, getServices
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
of
public static VespaRefeedAction of(java.lang.String name, com.yahoo.config.application.api.ValidationOverrides overrides, java.lang.String message, java.time.Instant now)
Creates a refeed action with some missing information
-
of
public static VespaRefeedAction of(java.lang.String name, com.yahoo.config.application.api.ValidationOverrides overrides, java.lang.String message, java.util.List<com.yahoo.config.model.api.ServiceInfo> services, java.lang.String documentType, java.time.Instant now)
Creates a refeed action
-
modifyAction
public VespaConfigChangeAction modifyAction(java.lang.String newMessage, java.util.List<com.yahoo.config.model.api.ServiceInfo> newServices, java.lang.String documentType)
- Specified by:
modifyAction
in classVespaConfigChangeAction
-
name
public java.lang.String name()
- Specified by:
name
in interfacecom.yahoo.config.model.api.ConfigChangeRefeedAction
-
getDocumentType
public java.lang.String getDocumentType()
- Specified by:
getDocumentType
in interfacecom.yahoo.config.model.api.ConfigChangeRefeedAction
-
allowed
public boolean allowed()
- Specified by:
allowed
in interfacecom.yahoo.config.model.api.ConfigChangeAction
-
toString
public java.lang.String toString()
- Overrides:
toString
in classVespaConfigChangeAction
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classVespaConfigChangeAction
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classVespaConfigChangeAction
-
-