blob: fc125168376ecf6f4e6a9ea773c2421721181fd1 [file] [log] [blame]
/*
* Copyright (c) 2019, Thomas Wolf <thomas.wolf@paranor.ch> and others
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package org.eclipse.jgit.lib;
import java.util.function.Supplier;
/**
* A factory for {@link BaseRepositoryBuilder}s.
* <p>
* Note that a {@link BaseRepositoryBuilder} should be used only once to build a
* repository. Otherwise subsequently built repositories may be built using
* settings made for earlier built repositories.
* </p>
*
* @since 5.6
*/
public interface RepositoryBuilderFactory extends
Supplier<BaseRepositoryBuilder<? extends BaseRepositoryBuilder, ? extends Repository>> {
// Empty
}