Class VcsCommitTask
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<VcsCommitTask,VcsCommitTaskProperties>
com.atlassian.bamboo.specs.builders.task.VcsCommitTask
This task will commit all local changes to a repository. For
DVCS repositories (which distinguish
between local and remote commits) this task will also push the commits 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 TypeMethodDescriptionprotected @NotNull VcsCommitTaskProperties
build()
commitMessage
(@NotNull String commitMessage) Sets the message to be used for committing.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
-
VcsCommitTask
public VcsCommitTask()
-
-
Method Details
-
commitMessage
Sets the message to be used for committing. -
build
- Specified by:
build
in classTask<VcsCommitTask,
VcsCommitTaskProperties>
-
equals
- Overrides:
equals
in classBaseVcsTask<VcsCommitTask,
VcsCommitTaskProperties>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseVcsTask<VcsCommitTask,
VcsCommitTaskProperties>
-