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, workingSubdirectory
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbranchName
(@NotNull String branchName) Sets the name of the branch to create.protected @NotNull VcsBranchTaskProperties
build()
boolean
int
hashCode()
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
-
Constructor Details
-
VcsBranchTask
public VcsBranchTask()
-
-
Method Details
-
branchName
Sets the name of the branch to create. -
build
- Specified by:
build
in classTask<VcsBranchTask,
VcsBranchTaskProperties>
-
equals
- Overrides:
equals
in classBaseVcsTask<VcsBranchTask,
VcsBranchTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseVcsTask<VcsBranchTask,
VcsBranchTaskProperties>
-