|
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.GitTag
public class GitTag extends GitBase
Task to tag a commit in a Git repository.
Method Summary | |
---|---|
boolean
|
getForce()
Gets whether or not the tag will be created/updated even if a tag of that name already exists. |
java.lang.String
|
getMessage()
Gets the tag message to use. |
boolean
|
getSign()
Gets whether or not the tag will be signed with the tagger's default key. |
java.lang.String
|
getTagName()
Gets the tag name to use. |
PersonIdent
|
getTagger()
Gets the tagger. |
void
|
setForce(boolean force)
Sets whether or not the tag will be created/updated even if a tag of that name already exists. |
void
|
setMessage(java.lang.Object message)
Sets the tag message to use. |
void
|
setSign(boolean sign)
Sets whether or not the tag will be signed by the tagger's default key. |
void
|
setTagName(java.lang.Object tagName)
Sets the tag name to use. |
void
|
setTagger(PersonIdent tagger)
Sets the tagger. |
void
|
tag()
Tags the HEAD. |
void
|
tagger(groovy.lang.Closure config)
Configures the tagger. |
Methods inherited from class GitBase | |
---|---|
getGit, getRepoDir, setRepoPath |
Method Detail |
---|
@Input public public boolean getForce()
@Input @Option al public public java.lang.String getMessage()
@Input public public boolean getSign()
@Input public public java.lang.String getTagName()
@Input @Option al public public PersonIdent getTagger()
public void setForce(boolean force)
force
- true if the tag will be forced,
false otherwise
public void setMessage(java.lang.Object message)
message
- the tag message
public void setSign(boolean sign)
sign
- true if the tag should
be signed, false otherwise
public void setTagName(java.lang.Object tagName)
tagName
- the tag name
public void setTagger(PersonIdent tagger)
tagger
- the tagger
tion public public void tag()
ssWarnings("rawtypes") public public void tagger(groovy.lang.Closure config)
config
- the configuration closure
Groovy Documentation