|
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.GitBranchList
public class GitBranchList extends GitBase
Lists branches in a Git repository.
Nested Class Summary | |
---|---|
static enum |
GitBranchList.BranchType
|
Method Summary | |
---|---|
GitBranchList.BranchType
|
getBranchType()
Gets the type of branches to retrieve. |
java.util.List
|
getBranches()
Gets the branches retrieved by the task. |
Branch
|
getWorkingBranch()
Gets the current working branch of this repository. |
void
|
setBranchType(GitBranchList.BranchType type)
Sets the type of branches to retrieve. |
Methods inherited from class GitBase | |
---|---|
getGit, getRepoDir, setRepoPath |
Method Detail |
---|
public GitBranchList.BranchType getBranchType()
public java.util.List getBranches()
public Branch getWorkingBranch()
public void setBranchType(GitBranchList.BranchType type)
Groovy Documentation