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>

public class VCSVersionReader extends AbstractBuildTask implements CustomPreBuildAction
  • Constructor Details

    • VCSVersionReader

      public VCSVersionReader()
  • Method Details

    • call

      @NotNull public @NotNull BuildContext 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 interface BuildTask
      Specified by:
      call in interface Callable<BuildContext>
      Returns:
    • validate

      @Nullable public @Nullable ErrorCollection validate(BuildConfiguration buildConfiguration)
      Description copied from interface: CustomPreBuildAction
      Validate the build configuration when trying to save configuration for the Plan This is used if the CustomPreBuildAction needs to have configuration stored against the build plan.
      Specified by:
      validate in interface CustomPreBuildAction
      Parameters:
      buildConfiguration -
      Returns:
    • setCustomVariableContext

      public void setCustomVariableContext(CustomVariableContext customVariableContext)
    • setVcsRepositoryManager

      public void setVcsRepositoryManager(VcsRepositoryManager vcsRepositoryManager)