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
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, workingSubdirectoryFields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull VcsTagTaskPropertiesbuild()booleaninthashCode()Sets the name of the tag to create.Methods inherited from class com.atlassian.bamboo.specs.builders.task.BaseVcsTask
defaultRepository, repository, repository, workingSubdirectoryMethods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, enabled, requirements, toString
-
Constructor Details
-
VcsTagTask
public VcsTagTask()
-
-
Method Details
-
tagName
Sets the name of the tag to create. -
build
- Specified by:
buildin classTask<VcsTagTask,VcsTagTaskProperties>
-
equals
- Overrides:
equalsin classBaseVcsTask<VcsTagTask,VcsTagTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseVcsTask<VcsTagTask,VcsTagTaskProperties>
-