1*4151dbf5SChris Fraire /*
2*4151dbf5SChris Fraire  * CDDL HEADER START
3*4151dbf5SChris Fraire  *
4*4151dbf5SChris Fraire  * The contents of this file are subject to the terms of the
5*4151dbf5SChris Fraire  * Common Development and Distribution License (the "License").
6*4151dbf5SChris Fraire  * You may not use this file except in compliance with the License.
7*4151dbf5SChris Fraire  *
8*4151dbf5SChris Fraire  * See LICENSE.txt included in this distribution for the specific
9*4151dbf5SChris Fraire  * language governing permissions and limitations under the License.
10*4151dbf5SChris Fraire  *
11*4151dbf5SChris Fraire  * When distributing Covered Code, include this CDDL HEADER in each
12*4151dbf5SChris Fraire  * file and include the License file at LICENSE.txt.
13*4151dbf5SChris Fraire  * If applicable, add the following below this CDDL HEADER, with the
14*4151dbf5SChris Fraire  * fields enclosed by brackets "[]" replaced with your own identifying
15*4151dbf5SChris Fraire  * information: Portions Copyright [yyyy] [name of copyright owner]
16*4151dbf5SChris Fraire  *
17*4151dbf5SChris Fraire  * CDDL HEADER END
18*4151dbf5SChris Fraire  */
19*4151dbf5SChris Fraire 
20*4151dbf5SChris Fraire /*
21*4151dbf5SChris Fraire  * Copyright (c) 2020, Chris Fraire <cfraire@me.com>.
22*4151dbf5SChris Fraire  */
23*4151dbf5SChris Fraire package org.opengrok.indexer.configuration;
24*4151dbf5SChris Fraire 
25*4151dbf5SChris Fraire /**
26*4151dbf5SChris Fraire  * Represents an API for consuming a {@link Configuration} instance along with
27*4151dbf5SChris Fraire  * a specified value.
28*4151dbf5SChris Fraire  */
29*4151dbf5SChris Fraire @FunctionalInterface
30*4151dbf5SChris Fraire public interface ConfigurationValueConsumer<V> {
accept(Configuration configuration, V v)31*4151dbf5SChris Fraire     void accept(Configuration configuration, V v);
32*4151dbf5SChris Fraire }
33