|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.DefaultTask
org.ajoberstar.gradle.git.tasks.GitBase
org.ajoberstar.gradle.git.tasks.GitSource
org.ajoberstar.gradle.git.tasks.GitCheckout
public class GitCheckout extends GitSource
Task to checkout files and refs
Field Summary |
---|
Fields inherited from class GitSource | |
---|---|
patternSet |
Method Summary | |
---|---|
java.lang.String
|
getBranchName()
Gets the branch or commit name to check out. |
boolean
|
getCreateBranch()
Gets whether the branch being checked out should be created. |
java.lang.String
|
getStartPoint()
Gets the start point for the new branch being created. |
void
|
setBranchName(java.lang.String branchName)
Specify the name of the branch or commit to check out, or the new branch name. |
void
|
setCreateBranch(boolean createBranch)
Specify whether to create a new branch. |
void
|
setStartPoint(java.lang.String startPoint)
Set starting point for the new branch being created. |
Methods inherited from class GitSource | |
---|---|
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getSource, include, include, include, include, setExcludes, setIncludes |
Methods inherited from class GitBase | |
---|---|
getGit, getRepoDir, setRepoPath |
Method Detail |
---|
public java.lang.String getBranchName()
public boolean getCreateBranch()
public java.lang.String getStartPoint()
public void setBranchName(java.lang.String branchName)
public void setCreateBranch(boolean createBranch)
public void setStartPoint(java.lang.String startPoint)
startPoint
- the name of the commit to start at
Groovy Documentation