public class SubdirectoryClone extends Object
| Constructor and Description |
|---|
SubdirectoryClone(File directory,
String origin,
String subdirectory,
List<String> branches,
org.eclipse.jgit.transport.CredentialsProvider credentialsProvider,
org.eclipse.jgit.internal.ketch.KetchLeaderCache leaders,
File hookDir) |
SubdirectoryClone(File directory,
String origin,
String subdirectory,
List<String> branches,
org.eclipse.jgit.transport.CredentialsProvider credentialsProvider,
org.eclipse.jgit.internal.ketch.KetchLeaderCache leaders,
File hookDir,
boolean sslVerify) |
public SubdirectoryClone(File directory, String origin, String subdirectory, List<String> branches, org.eclipse.jgit.transport.CredentialsProvider credentialsProvider, org.eclipse.jgit.internal.ketch.KetchLeaderCache leaders, File hookDir)
directory - Directory for the local target repository (created by this command). Must not be null.origin - URI for the repository being cloned. Must not be null.subdirectory - The subdirectory within the origin being copied. Must not be null.branches - The branches that should be copied. Must not be null.credentialsProvider - Provides credentials for the initial cloning of the origin. May be null.leaders - Used for initial cloning. May be null.hookDir - Used to specify the directory containing the Git Hooks to add to the repository. May be null.public SubdirectoryClone(File directory, String origin, String subdirectory, List<String> branches, org.eclipse.jgit.transport.CredentialsProvider credentialsProvider, org.eclipse.jgit.internal.ketch.KetchLeaderCache leaders, File hookDir, boolean sslVerify)
directory - Directory for the local target repository (created by this command). Must not be null.origin - URI for the repository being cloned. Must not be null.subdirectory - The subdirectory within the origin being copied. Must not be null.branches - The branches that should be copied. Must not be null.credentialsProvider - Provides credentials for the initial cloning of the origin. May be null.leaders - Used for initial cloning. May be null.hookDir - Used to specify the directory containing the Git Hooks to add to the repository. May be null.sslVerify - Used to disable http ssl verify on the repositorypublic Git execute()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.