aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryBuilderFactory.java
blob: fc125168376ecf6f4e6a9ea773c2421721181fd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * 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
}