com.atlassian.bamboo.v2.build.repository
Interface RepositoryEventAware

All Superinterfaces:
BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, ConvertibleFromConfig, DescriptionProvider, InitablePluginModule, NameProvider, RenderableBuildConfiguration, Repository, RepositoryV2, java.io.Serializable
All Known Implementing Classes:
SvnRepository

public interface RepositoryEventAware
extends Repository

An interface that allows the repository to do something before and after the checkout / update occurs


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST
 
Method Summary
 void postRetrieveSourceCode(BuildContext buildContext)
          Deprecated. 
 void postRetrieveSourceCode(BuildContext buildContext, java.io.File sourceDirectory)
          postRetrieveSourceCode will run after the retrieveSourceCode method is called.
 void preRetrieveSourceCode(BuildContext buildContext)
          Deprecated. since 3.3 use preRetrieveSourceCode(BuildContext, File)
 void preRetrieveSourceCode(BuildContext buildContext, java.io.File sourceDirectory)
          preRetrieveSourceCode will run before the retrieveSourceCode method is called.
 
Methods inherited from interface com.atlassian.bamboo.repository.Repository
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
 
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
 
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
 
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
customizeBuildRequirements, removeBuildRequirements
 
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, prepareConfigObject, validate
 
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
init
 
Methods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getEditHtml, getViewHtml
 
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
 

Method Detail

preRetrieveSourceCode

@Deprecated
void preRetrieveSourceCode(@NotNull
                                      BuildContext buildContext)
Deprecated. since 3.3 use preRetrieveSourceCode(BuildContext, File)

preRetrieveSourceCode will run before the retrieveSourceCode method is called. It allows you to do custom actions to prepare for the checkout such as some customised cleanup of the source directory.

Parameters:
buildContext -

preRetrieveSourceCode

void preRetrieveSourceCode(@NotNull
                           BuildContext buildContext,
                           @NotNull
                           java.io.File sourceDirectory)
preRetrieveSourceCode will run before the retrieveSourceCode method is called. It allows you to do custom actions to prepare for the checkout such as some customised cleanup of the source directory.

Parameters:
buildContext -
sourceDirectory -

postRetrieveSourceCode

@Deprecated
void postRetrieveSourceCode(@NotNull
                                       BuildContext buildContext)
Deprecated. 

postRetrieveSourceCode will run after the retrieveSourceCode method is called. The extension point allows you to easily set custom data, do any post checkout collection of data.

Parameters:
buildContext -
since - 3.3 use postRetrieveSourceCode(BuildContext, File)

postRetrieveSourceCode

void postRetrieveSourceCode(@NotNull
                            BuildContext buildContext,
                            @NotNull
                            java.io.File sourceDirectory)
postRetrieveSourceCode will run after the retrieveSourceCode method is called. The extension point allows you to easily set custom data, do any post checkout collection of data.

Parameters:
buildContext -
sourceDirectory -


Copyright © 2012 Atlassian. All Rights Reserved.