Interface RepositoryEventAware

All Superinterfaces:
BambooPluginModule, ConfigurablePlugin, ConvertibleFromConfig, Repository, RepositoryV2,
All Known Implementing Classes:

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
Method Summary
 void postRetrieveSourceCode(BuildContext buildContext)
          postRetrieveSourceCode will run after the retrieveSourceCode method is called.
 void preRetrieveSourceCode(BuildContext buildContext)
          preRetrieveSourceCode will run before the retrieveSourceCode method is called.
Methods inherited from interface com.atlassian.bamboo.repository.Repository
checkConnection, getHost, getKey, getName, getTriggerIpAddress, isRepositoryDifferent, setReferencesDifferentRepository
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
Methods inherited from interface
collectChangesSinceLastBuild, getSourceCodeDirectory, referencesDifferentRepository, retrieveSourceCode
Methods inherited from interface
addDefaultValues, customizeBuildRequirements, getEditHtml, getViewHtml, init, prepareConfigObject, validate

Method Detail


void preRetrieveSourceCode(@NotNull
                           BuildContext buildContext)
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.

buildContext -


void postRetrieveSourceCode(@NotNull
                            BuildContext buildContext)
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.

buildContext -

Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.