Class VcsTagTask
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
-
- com.atlassian.bamboo.specs.api.builders.task.Task<T,E>
-
- com.atlassian.bamboo.specs.builders.task.BaseVcsTask<VcsTagTask,VcsTagTaskProperties>
-
- com.atlassian.bamboo.specs.builders.task.VcsTagTask
-
public class VcsTagTask extends BaseVcsTask<VcsTagTask,VcsTagTaskProperties>
Task which creates a new tag in a repository. For DVCS repositories (which distinguish between local and remote commits) this task will push the newly created tag to the remote repository.
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.specs.builders.task.BaseVcsTask
defaultRepository, repository, workingSubdirectory
-
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
-
Constructor Summary
Constructors Constructor Description VcsTagTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @NotNull VcsTagTaskPropertiesbuild()booleanequals(java.lang.Object o)inthashCode()VcsTagTasktagName(@NotNull java.lang.String branchName)Sets the name of the tag to create.-
Methods inherited from class com.atlassian.bamboo.specs.builders.task.BaseVcsTask
defaultRepository, repository, repository, workingSubdirectory
-
Methods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
-
-
-
Method Detail
-
tagName
public VcsTagTask tagName(@NotNull @NotNull java.lang.String branchName)
Sets the name of the tag to create.
-
build
@NotNull protected @NotNull VcsTagTaskProperties build()
- Specified by:
buildin classTask<VcsTagTask,VcsTagTaskProperties>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classBaseVcsTask<VcsTagTask,VcsTagTaskProperties>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseVcsTask<VcsTagTask,VcsTagTaskProperties>
-
-