All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.config.model.api.ConfigChangeRefeedAction Maven / Gradle / Ivy

There is a newer version: 8.441.21
Show newest version
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.api;

import com.yahoo.config.application.api.ValidationId;

/**
 * Represents an action to re-feed a document type in order to handle a config change.
 *
 * @author geirst
 */
public interface ConfigChangeRefeedAction extends ConfigChangeAction {

    @Override
    default Type getType() { return Type.REFEED; }

    /** Returns the name identifying this kind of change, used to identify names which should be allowed */
    default String name() { return validationId().orElseThrow().value(); }

    /** Returns the name of the document type that one must re-feed to handle this config change */
    String getDocumentType();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy