com.atlassian.bamboo.v2.trigger
Class DefaultChangeDetectionManager

java.lang.Object
  extended by com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager
All Implemented Interfaces:
ChangeDetectionManager

public class DefaultChangeDetectionManager
extends java.lang.Object
implements ChangeDetectionManager


Constructor Summary
DefaultChangeDetectionManager()
           
 
Method Summary
 BuildChanges collectChangesBetween(java.lang.String planKey, RepositoryV2 repository, java.lang.String fromVcsRevisionKey, java.lang.String toVcsRevisionKey)
          Given a RepositoryV2 finds the BuildChanges object that captures all changes that occurred between the fromVcsRevisionKey to toVcsRevisionKey
 BuildChanges collectChangesSinceLastBuild(java.lang.String planKey, RepositoryV2 repository, java.lang.String lastVcsRevisionKey)
          Given a RepositoryV2 finds the BuildChanges object that captures all changes that occurred since the lastVcsRevisionKey to the current latest found on the repository
 void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
           
 void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultChangeDetectionManager

public DefaultChangeDetectionManager()
Method Detail

collectChangesSinceLastBuild

@NotNull
public BuildChanges collectChangesSinceLastBuild(@NotNull
                                                         java.lang.String planKey,
                                                         @NotNull
                                                         RepositoryV2 repository,
                                                         @Nullable
                                                         java.lang.String lastVcsRevisionKey)
                                          throws RepositoryException
Description copied from interface: ChangeDetectionManager
Given a RepositoryV2 finds the BuildChanges object that captures all changes that occurred since the lastVcsRevisionKey to the current latest found on the repository

Specified by:
collectChangesSinceLastBuild in interface ChangeDetectionManager
Returns:
Throws:
RepositoryException

collectChangesBetween

@NotNull
public BuildChanges collectChangesBetween(@NotNull
                                                  java.lang.String planKey,
                                                  @NotNull
                                                  RepositoryV2 repository,
                                                  @Nullable
                                                  java.lang.String fromVcsRevisionKey,
                                                  @NotNull
                                                  java.lang.String toVcsRevisionKey)
                                   throws RepositoryException
Description copied from interface: ChangeDetectionManager
Given a RepositoryV2 finds the BuildChanges object that captures all changes that occurred between the fromVcsRevisionKey to toVcsRevisionKey

Specified by:
collectChangesBetween in interface ChangeDetectionManager
Returns:
Throws:
RepositoryException

setBuildLoggerManager

public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)

setTextProvider

public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)


Copyright © 2010 Atlassian. All Rights Reserved.