1 /*
2 * Copyright (c) 2019, Thomas Wolf <thomas.wolf@paranor.ch> and others
3 *
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Distribution License v. 1.0 which is available at
6 * http://www.eclipse.org/org/documents/edl-v10.php.
7 *
8 * SPDX-License-Identifier: BSD-3-Clause
9 */
10 package org.eclipse.jgit.lib;
11
12 import java.util.function.Supplier;
13
14 /**
15 * A factory for {@link BaseRepositoryBuilder}s.
16 * <p>
17 * Note that a {@link BaseRepositoryBuilder} should be used only once to build a
18 * repository. Otherwise subsequently built repositories may be built using
19 * settings made for earlier built repositories.
20 * </p>
21 *
22 * @since 5.6
23 */
24 public interface RepositoryBuilderFactory extends
25 Supplier<BaseRepositoryBuilder<? extends BaseRepositoryBuilder, ? extends Repository>> {
26 // Empty
27 }