Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

RepositoryBuilderFactory.java 844B

123456789101112131415161718192021222324252627
  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. import java.util.function.Supplier;
  12. /**
  13. * A factory for {@link BaseRepositoryBuilder}s.
  14. * <p>
  15. * Note that a {@link BaseRepositoryBuilder} should be used only once to build a
  16. * repository. Otherwise subsequently built repositories may be built using
  17. * settings made for earlier built repositories.
  18. * </p>
  19. *
  20. * @since 5.6
  21. */
  22. public interface RepositoryBuilderFactory extends
  23. Supplier<BaseRepositoryBuilder<? extends BaseRepositoryBuilder, ? extends Repository>> {
  24. // Empty
  25. }