Class VcsBranchTask
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<VcsBranchTask,VcsBranchTaskProperties>
com.atlassian.bamboo.specs.builders.task.VcsBranchTask
Task which creates a new branch in a repository. For
DVCS repositories (which distinguish
between local and remote commits) this task will push the newly created branch 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 TypeMethodDescriptionbranchName(@NotNull String branchName) Sets the name of the branch to create.protected @NotNull VcsBranchTaskPropertiesbuild()booleaninthashCode()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
-
VcsBranchTask
public VcsBranchTask()
-
-
Method Details
-
branchName
Sets the name of the branch to create. -
build
- Specified by:
buildin classTask<VcsBranchTask,VcsBranchTaskProperties>
-
equals
- Overrides:
equalsin classBaseVcsTask<VcsBranchTask,VcsBranchTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseVcsTask<VcsBranchTask,VcsBranchTaskProperties>
-