@Operation('add') class TagAddOp extends java.lang.Object
Adds a tag to the repository. Returns the newly created Tag.
| Type | Name and description |
|---|---|
boolean |
annotatetrue (the default) if an annotated tag should be
created, false otherwise. |
boolean |
forcetrue to overwrite an existing tag, false
(the default) otherwise |
java.lang.String |
messageThe message to put on the tag. |
java.lang.String |
nameThe name of the tag to create. |
java.lang.Object |
pointsToThe commit the tag should point to. |
Person |
taggerThe person who created the tag. |
| Constructor and description |
|---|
TagAddOp
(Repository repo) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
true (the default) if an annotated tag should be
created, false otherwise.
true to overwrite an existing tag, false
(the default) otherwise
The message to put on the tag.
The name of the tag to create.
The commit the tag should point to.
The person who created the tag.
Groovy Documentation