Package io.resys.hdes.client.spi.git
Class GitConnectionFactory
java.lang.Object
io.resys.hdes.client.spi.git.GitConnectionFactory
public class GitConnectionFactory extends Object
-
Constructor Summary
Constructors Constructor Description GitConnectionFactory() -
Method Summary
Modifier and Type Method Description static GitConfigcreate(GitConfig.GitInit config, HdesStore.HdesCredsSupplier creds, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Constructor Details
-
GitConnectionFactory
public GitConnectionFactory()
-
-
Method Details
-
create
public static GitConfig create(GitConfig.GitInit config, HdesStore.HdesCredsSupplier creds, com.fasterxml.jackson.databind.ObjectMapper objectMapper) throws IOException, org.eclipse.jgit.api.errors.RefAlreadyExistsException, org.eclipse.jgit.api.errors.RefNotFoundException, org.eclipse.jgit.api.errors.InvalidRefNameException, org.eclipse.jgit.api.errors.CheckoutConflictException, org.eclipse.jgit.api.errors.GitAPIException- Throws:
IOExceptionorg.eclipse.jgit.api.errors.RefAlreadyExistsExceptionorg.eclipse.jgit.api.errors.RefNotFoundExceptionorg.eclipse.jgit.api.errors.InvalidRefNameExceptionorg.eclipse.jgit.api.errors.CheckoutConflictExceptionorg.eclipse.jgit.api.errors.GitAPIException
-