blob: d8ca336987463486b37f328ced2f3cc8f4c1c1dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.api;
import java.util.Optional;
/**
* Represents an action to re-index a document type in order to handle a config change.
*
* @author bjorncs
*/
public interface ConfigChangeReindexAction extends ConfigChangeAction {
@Override default Type getType() { return Type.REINDEX; }
/** @return name identifying this kind of change, used to identify names which should be allowed */
String name();
/** @return name of the document type that must be re-indexed, or empty if all document types */
Optional<String> getDocumentType();
}
|