|
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.GitClean
public class GitClean extends GitBase
Task to clean the working tree of a local Git repository.
Method Summary | |
---|---|
java.util.Set
|
getPaths()
Gets the paths to clean. |
void
|
paths(java.lang.Object... cleanPaths)
Adds paths to be cleaned. |
void
|
paths(java.lang.Iterable cleanPaths)
Adds paths to be cleaned. |
void
|
reset()
Reset the changes as configured. |
void
|
setPaths(java.util.Set cleanPaths)
Sets the paths for the clean command. |
Methods inherited from class GitBase | |
---|---|
getGit, getRepoDir, setRepoPath |
Method Detail |
---|
public public java.util.Set getPaths()
public void paths(java.lang.Object... cleanPaths)
cleanPaths
- the paths to be cleaned
public void paths(java.lang.Iterable cleanPaths)
cleanPaths
- the paths to be cleaned
tion public public void reset()
public void setPaths(java.util.Set cleanPaths)
cleanPaths
- the paths to be cleaned
Groovy Documentation