public interface GitCloneBuilder extends GitCommandBuilderSupport<GitCloneBuilder>
ENV_AUTHOR_DATE, ENV_AUTHOR_EMAIL, ENV_AUTHOR_NAME, ENV_COMMITTER_DATE, ENV_COMMITTER_EMAIL, ENV_COMMITTER_NAME| Modifier and Type | Method and Description | 
|---|---|
| GitCloneBuilder | branch(String value)The optional name of a branch to checkout the cloned repository on. | 
| GitCommand<?> | build() | 
| GitCloneBuilder | checkout(boolean value) | 
| GitCloneBuilder | directory(File value) | 
| GitCloneBuilder | directory(Path value)Sets the directory where the clone should be created. | 
| GitCloneBuilder | directory(String value) | 
| GitCloneBuilder | origin(File value) | 
| GitCloneBuilder | origin(Path value)Sets the path to the origin repository that should be cloned. | 
| GitCloneBuilder | origin(com.atlassian.bitbucket.repository.Repository value)Sets the origin repository that should be cloned. | 
| GitCloneBuilder | origin(String origin) | 
| GitCloneBuilder | quiet(boolean value) | 
| GitCloneBuilder | shared(boolean value) | 
| GitCloneBuilder | template(File value)Sets the  --templatepath to be used when creating the clone's repository on disk. | 
| GitCloneBuilder | template(Path value)Sets the  --templatepath to be used when creating the clone's repository on disk. | 
| GitCloneBuilder | template(String value)Sets the  --templatepath to be used when creating the clone's repository on disk. | 
alternate, alternates, alternates, author, author, author, build, committer, committer, committer, withConfiguration, withConfiguration, withConfiguration, withConfiguration@Nonnull GitCommand<?> build()
@Nonnull GitCloneBuilder branch(@Nullable String value)
NOTE: This must be a branch, Git clone does not accept qualified refs.
value - branch namethis@Nonnull GitCloneBuilder checkout(boolean value)
@Nonnull GitCloneBuilder directory(@Nonnull File value)
@Nonnull GitCloneBuilder directory(@Nonnull Path value)
value - the path to the directory where the clone should be createdthis@Nonnull GitCloneBuilder directory(@Nonnull String value)
@Nonnull GitCloneBuilder origin(@Nonnull File value)
@Nonnull GitCloneBuilder origin(@Nonnull Path value)
value - the path to the origin repositorythis@Nonnull GitCloneBuilder origin(@Nonnull com.atlassian.bitbucket.repository.Repository value)
value - the origin repositorythis@Nonnull GitCloneBuilder origin(@Nonnull String origin)
@Nonnull GitCloneBuilder quiet(boolean value)
@Nonnull GitCloneBuilder shared(boolean value)
@Nonnull GitCloneBuilder template(@Nullable File value)
--template path to be used when creating the clone's repository on disk. The Git
 distribution includes its own template, which can be overridden by using this flag.value - the --template path, or null to clear the flagthis@Nonnull GitCloneBuilder template(@Nullable Path value)
--template path to be used when creating the clone's repository on disk. The Git
 distribution includes its own template, which can be overridden by using this flag.value - the --template path, or null to clear the flagthis@Nonnull GitCloneBuilder template(@Nullable String value)
--template path to be used when creating the clone's repository on disk. The Git
 distribution includes its own template, which can be overridden by using this flag.value - the --template path, or null to clear the flagthisCopyright © 2019 Atlassian. All rights reserved.