Package com.atlassian.bamboo.vcsversion
Class VCSVersionReader
java.lang.Object
com.atlassian.bamboo.v2.build.task.AbstractBuildTask
com.atlassian.bamboo.vcsversion.VCSVersionReader
- All Implemented Interfaces:
CustomPreBuildAction
,BambooPluginModule
,AgentBuildTask
,BuildTask
,Callable<BuildContext>
-
Field Summary
Fields inherited from class com.atlassian.bamboo.v2.build.task.AbstractBuildTask
buildContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContext
call()
Execute the build task.void
setCustomVariableContext
(CustomVariableContext customVariableContext) void
setVcsRepositoryManager
(VcsRepositoryManager vcsRepositoryManager) @Nullable ErrorCollection
validate
(BuildConfiguration buildConfiguration) Validate the build configuration when trying to save configuration for thePlan
This is used if the CustomPreBuildAction needs to have configuration stored against the build plan.Methods inherited from class com.atlassian.bamboo.v2.build.task.AbstractBuildTask
calculateBuildAndLifeCycleState, init
-
Field Details
-
SVN_REVISION_NUMBER
- See Also:
-
SVN_USER_NAME
- See Also:
-
-
Constructor Details
-
VCSVersionReader
public VCSVersionReader()
-
-
Method Details
-
call
Description copied from interface:BuildTask
Execute the build task.
Implementations should regularly check if the calling
Thread
has been interrupted.- Specified by:
call
in interfaceBuildTask
- Specified by:
call
in interfaceCallable<BuildContext>
-
validate
Description copied from interface:CustomPreBuildAction
Validate the build configuration when trying to save configuration for thePlan
This is used if the CustomPreBuildAction needs to have configuration stored against the build plan.- Specified by:
validate
in interfaceCustomPreBuildAction
- Returns:
-
setCustomVariableContext
-
setVcsRepositoryManager
-