com.atlassian.bamboo.v2.trigger
Class DefaultChangeDetectionManager
java.lang.Object
com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager
- All Implemented Interfaces:
- ChangeDetectionManager
public class DefaultChangeDetectionManager
- extends java.lang.Object
- implements ChangeDetectionManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultChangeDetectionManager
public DefaultChangeDetectionManager(BuildLoggerManager buildLoggerManager,
com.opensymphony.xwork.TextProvider textProvider,
VariableDefinitionManager variableDefinitionManager,
CustomVariableContext customVariableContext)
collectChangesSinceLastBuild
@NotNull
public BuildChanges collectChangesSinceLastBuild(@NotNull
Plan plan,
@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
collectChangesSinceLastBuild
@NotNull
public BuildChanges collectChangesSinceLastBuild(@NotNull
Plan plan,
@NotNull
RepositoryV2 repository,
@Nullable
java.lang.String lastVcsRevisionKey,
@Nullable
java.util.Map<java.lang.String,java.lang.String> customVariableValues)
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. Method provides manually set variables
collection for evaluation during change detection
- Specified by:
collectChangesSinceLastBuild
in interface ChangeDetectionManager
- Returns:
-
- Throws:
RepositoryException
collectChangesBetween
@NotNull
public BuildChanges collectChangesBetween(@NotNull
Plan plan,
@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
Copyright © 2011 Atlassian. All Rights Reserved.